1
0
Эх сурвалжийг харах

chore(server): Use bearer-token auth for populate script

Michael Bromley 7 жил өмнө
parent
commit
7e93d4d8b9

+ 3 - 0
server/mock-data/populate-cli.ts

@@ -11,6 +11,9 @@ if (require.main === module) {
     // Running from command line
     const populateConfig: VendureConfig = {
         ...devConfig,
+        authOptions: {
+            tokenMethod: 'bearer',
+        },
         customFields: {},
     };
     // tslint:disable