ソースを参照

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

Michael Bromley 7 年 前
コミット
7e93d4d8b9
1 ファイル変更3 行追加0 行削除
  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