transloadit: fix #2626 (#2748)

This commit is contained in:
Renée Kooi 2021-01-28 17:32:53 +01:00 committed by GitHub
parent 72bef8d9d7
commit 63c49df92f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}))
}