mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 18:29:09 +00:00
Adds uploadID to complete event
This commit is contained in:
parent
33f20fb0f4
commit
6ff0d40e98
1 changed files with 1 additions and 1 deletions
|
|
@ -1066,7 +1066,7 @@ class Uppy {
|
|||
const files = fileIDs.map((fileID) => this.getFile(fileID))
|
||||
const successful = files.filter((file) => file && !file.error)
|
||||
const failed = files.filter((file) => file && file.error)
|
||||
this.addResultData(uploadID, { successful, failed })
|
||||
this.addResultData(uploadID, { successful, failed, uploadID })
|
||||
|
||||
const { currentUploads } = this.getState()
|
||||
const result = currentUploads[uploadID].result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue