You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use AWS S3 plugin, for each file I am uploading, I get the event upload-success firing twice.
newUppy(this.uppy_options).use(AwsS3,this.uppy_aws_options).use(XHRUpload,this.uppy_xhr_options).on('file-added',(file)=>{// THIS IS CALLED ONCEconsole.log('Added file',file);}).on('upload',(data)=>{// THIS IS CALLED ONCEconsole.log(`Starting upload ${data.id} for files ${data.fileIDs}`);}).on('upload-progress',(file,progress)=>{// THIS IS CALLED TWICE (for each progress)console.log(file,progress);}).on('upload-success',(file,response)=>{// THIS IS CALLED TWICEconsole.log('Upload successful',file,response);});
I'm running into the same issue here. I'd like to be able to optimistically update my query cache but can't as it seems to be firing right away, then again when the file finishes uploading. Any help or ideas would be appreciated.
When I use AWS S3 plugin, for each file I am uploading, I get the event
upload-success
firing twice.Is Uppy uploading the file also when it is fetching the presignedURL?
I believe I should get the event
upload-success
only once, or am I missing something?The text was updated successfully, but these errors were encountered: