mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 20:40:06 +00:00
transloadit: Fix finding correct file for a tus upload URL when upload has not completed.
This commit is contained in:
parent
efc248c93f
commit
dfa1bf6797
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ module.exports = class Transloadit extends Plugin {
|
|||
if (!files.hasOwnProperty(id)) {
|
||||
continue
|
||||
}
|
||||
if (files[id].uploadURL === uploadedFile.tus_upload_url) {
|
||||
if (files[id].uploadURL === uploadedFile.tus_upload_url || (files[id].tus && files[id].tus.uploadUrl === uploadedFile.tus_upload_url)) {
|
||||
return files[id]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue