瀏覽代碼

provider-views: set correct package when sending version

Ifedapo Olarewaju 5 年之前
父節點
當前提交
36c9c0610d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/@uppy/provider-views/src/index.js

+ 1 - 1
packages/@uppy/provider-views/src/index.js

@@ -422,7 +422,7 @@ module.exports = class ProviderView {
 
   handleAuth () {
     const authState = btoa(JSON.stringify({ origin: getOrigin() }))
-    const clientVersion = encodeURIComponent(`@uppy/companion-client=${ProviderView.VERSION}`)
+    const clientVersion = encodeURIComponent(`@uppy/provider-views=${ProviderView.VERSION}`)
     const link = `${this.provider.authUrl()}?state=${authState}&uppyVersions=${clientVersion}`
 
     const authWindow = window.open(link, '_blank')