Explorar el Código

transloadit: fix #2626 (#2748)

Renée Kooi hace 4 años
padre
commit
63c49df92f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/@uppy/transloadit/src/index.js

+ 1 - 1
packages/@uppy/transloadit/src/index.js

@@ -296,7 +296,7 @@ module.exports = class Transloadit extends Plugin {
   _reserveFiles (assembly, fileIDs) {
     return Promise.all(fileIDs.map((fileID) => {
       const file = this.uppy.getFile(fileID)
-      return this.client.reserveFile(assembly, file)
+      return this.client.reserveFile(assembly.status, file)
     }))
   }