Procházet zdrojové kódy

fix: remove conditonal to replace google with drive

* Google drive callback url now uses 'google' and not 'drive'
* Fixes callback url by removing the conditional for google providerName
Michael Kabatek před 5 roky
rodič
revize
ff5714ebc3

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

@@ -195,10 +195,6 @@ exports.buildHelpfulStartupMessage = (companionOptions) => {
       return
     }
 
-    if (providerName === 'google') {
-      providerName = 'drive'
-    }
-
     callbackURLs.push(buildURL(`/connect/${providerName}/callback`, true))
   })