فهرست منبع

examples: update configs for Companion 2.0+

Renée Kooi 4 سال پیش
والد
کامیت
f6b9106dbe
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      examples/aws-companion/server.js
  2. 1 1
      examples/uppy-with-companion/server/index.js

+ 1 - 1
examples/aws-companion/server.js

@@ -18,7 +18,7 @@ app.use(require('express-session')({
 
 const options = {
   providerOptions: {
-    google: {
+    drive: {
       key: process.env.COMPANION_GOOGLE_KEY,
       secret: process.env.COMPANION_GOOGLE_SECRET
     },

+ 1 - 1
examples/uppy-with-companion/server/index.js

@@ -34,7 +34,7 @@ app.get('/', (req, res) => {
 // initialize uppy
 const uppyOptions = {
   providerOptions: {
-    google: {
+    drive: {
       key: 'your google key',
       secret: 'your google secret'
     },