Sfoglia il codice sorgente

examples: update configs for Companion 2.0+

Renée Kooi 4 anni fa
parent
commit
f6b9106dbe

+ 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'
     },