Change default file name for FileAPL

This commit is contained in:
Krzysztof Wolski 2022-09-01 18:40:58 +02:00
parent 6adabd1cba
commit ace6efbdba
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ describe("APL", () => {
await apl.delete(stubAuthData.domain);
expect(spyWriteFile).toBeCalledWith(".auth-data.json", "{}");
expect(spyWriteFile).toBeCalledWith(".saleor-app-auth.json", "{}");
});
it("Should not delete data when called with unknown domain", async () => {

View file

@ -65,7 +65,7 @@ export class FileAPL implements APL {
private fileName: string;
constructor(config: FileAPLConfig = {}) {
this.fileName = config?.fileName || ".auth-data.json";
this.fileName = config?.fileName || ".saleor-app-auth.json";
}
async get(domain: string) {