Change default file name for FileAPL
This commit is contained in:
parent
6adabd1cba
commit
ace6efbdba
2 changed files with 2 additions and 2 deletions
|
@ -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 () => {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue