diff --git a/src/APL/fileAPL.test.ts b/src/APL/fileAPL.test.ts index 9558f15..280107b 100644 --- a/src/APL/fileAPL.test.ts +++ b/src/APL/fileAPL.test.ts @@ -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 () => { diff --git a/src/APL/fileAPL.ts b/src/APL/fileAPL.ts index 38a60e4..5699238 100644 --- a/src/APL/fileAPL.ts +++ b/src/APL/fileAPL.ts @@ -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) {