Browse Source

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

Michael Bromley 7 years ago
parent
commit
7e93d4d8b9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      server/mock-data/populate-cli.ts

+ 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