@uppy/core: fix undefined reference when cancelling an upload (#5730)

This commit is contained in:
Prakash 2025-04-24 19:57:58 +05:30 committed by GitHub
parent d58cc20372
commit bb82326d0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2243,6 +2243,11 @@ export class Uppy<
this.log(
`Not setting result for an upload that has been removed: ${uploadID}`,
)
result = {
successful: [],
failed: [],
uploadID,
}
}
return result
}