fix: FileAPL uses fileName (not filePath) for auth data path
This commit is contained in:
+3
-1
@@ -19,7 +19,9 @@ switch (process.env.APL) {
|
|||||||
* TODO: See docs
|
* TODO: See docs
|
||||||
*/
|
*/
|
||||||
default:
|
default:
|
||||||
apl = new FileAPL();
|
apl = new FileAPL({
|
||||||
|
fileName: process.env.AUTH_DATA_FILE_PATH || ".auth-data.json"
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export const saleorApp = new SaleorApp({
|
export const saleorApp = new SaleorApp({
|
||||||
|
|||||||
Reference in New Issue
Block a user