From 2ada5b1cc93e22d6f899303aeae011a2ad009143 Mon Sep 17 00:00:00 2001 From: Unchained Date: Fri, 27 Mar 2026 19:45:47 +0200 Subject: [PATCH] fix: FileAPL uses fileName (not filePath) for auth data path --- src/saleor-app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/saleor-app.ts b/src/saleor-app.ts index dcc79d2..085695b 100644 --- a/src/saleor-app.ts +++ b/src/saleor-app.ts @@ -19,7 +19,9 @@ switch (process.env.APL) { * TODO: See docs */ default: - apl = new FileAPL(); + apl = new FileAPL({ + fileName: process.env.AUTH_DATA_FILE_PATH || ".auth-data.json" + }); } export const saleorApp = new SaleorApp({