Pārlūkot izejas kodu

companion-client: remove version header to avoid block headers against
older companion

Ifedapo Olarewaju 6 gadi atpakaļ
vecāks
revīzija
9baca15db3

+ 1 - 3
packages/@uppy/companion-client/src/RequestClient.js

@@ -23,9 +23,7 @@ module.exports = class RequestClient {
   get defaultHeaders () {
     return {
       'Accept': 'application/json',
-      'Content-Type': 'application/json',
-      // @todo remove this hardcoded version
-      'uppy-client': 'companion-client:1.0.2'
+      'Content-Type': 'application/json'
     }
   }