Sfoglia il codice sorgente

add support for COMPANION_UNSPLASH_SECRET (#3463)

was missing
Mikael Finstad 3 anni fa
parent
commit
4e23e77b64
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      packages/@uppy/companion/src/standalone/helper.js

+ 1 - 0
packages/@uppy/companion/src/standalone/helper.js

@@ -67,6 +67,7 @@ const getConfigFromEnv = () => {
       searchProviders: {
         unsplash: {
           key: process.env.COMPANION_UNSPLASH_KEY,
+          secret: process.env.COMPANION_UNSPLASH_SECRET,
         },
       },
       s3: {