Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resumable (tus) uploads don't emit upload, upload.error #165

Open
LauraTran opened this issue Dec 30, 2021 · 0 comments
Open

Resumable (tus) uploads don't emit upload, upload.error #165

LauraTran opened this issue Dec 30, 2021 · 0 comments

Comments

@LauraTran
Copy link

To Reproduce

<vue-file-agent 
   :resumable="true" 
   :uploadUrl="'/some/tus/upload/endpoint/'"
  @upload="onUploadSuccess"
></vue-file-agent>

Expected behavior
Once the file uploads, the method onUploadSuccess should be called.
Currently it's not being called because the method upload just returns the result and does not emit the event as it does when resumable is false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant