浏览代码

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 5 年之前
父节点
当前提交
ff5714ebc3
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      packages/@uppy/companion/src/standalone/helper.js

+ 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))
   })