Преглед на файлове

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')