fix: FileAPL uses fileName (not filePath) for auth data path

This commit is contained in:
Unchained
2026-03-27 19:45:47 +02:00
parent b54299d2c3
commit 2ada5b1cc9
+3 -1
View File
@@ -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({