Skip to content

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

Open
@LauraTran

Description

@LauraTran

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions