Pārlūkot izejas kodu

companion: set contentType

Ifedapo Olarewaju 6 gadi atpakaļ
vecāks
revīzija
e862702bc4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      packages/@uppy/companion/src/server/Uploader.js

+ 1 - 1
packages/@uppy/companion/src/server/Uploader.js

@@ -389,7 +389,7 @@ class Uploader {
           value: file,
           options: {
             filename: this.metadata.filename,
-            filetype: this.metadata.filetype
+            contentType: this.metadata.filetype
           }
         }
       }