mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
comment
This commit is contained in:
@@ -316,7 +316,11 @@
|
||||
write,
|
||||
(progress) => {
|
||||
/*if cancelled
|
||||
throw something*/
|
||||
throw something
|
||||
- When cancelled we need to delete the file
|
||||
- but we don't yet have the id of the file,
|
||||
- after resumable upload change, we will have the id
|
||||
*/
|
||||
this.updateFile(id, {
|
||||
id: id,
|
||||
progress: Math.round(progress),
|
||||
|
||||
Reference in New Issue
Block a user