Procházet zdrojové kódy

provider-views: set correct package when sending version

Ifedapo Olarewaju před 5 roky
rodič
revize
36c9c0610d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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')