Create a gist now

Instantly share code, notes, and snippets.

Embed
Simple walkthrough for adding direct (S3) uploads to a Roda & Sequel app with Shrine
@fordfischer

This comment has been minimized.

Show comment
Hide comment
@fordfischer

fordfischer Apr 26, 2018

Uppy has been having quite a few breaking changes, including giving you the file as the first arg on the 'upload-success' event. Thus,

uppy.on('upload-success', function (fileId, data) 

Needs to be changed to:

uppy.on('upload-success', function (file, data)

And you don't have to grab the file from the fileID

Uppy has been having quite a few breaking changes, including giving you the file as the first arg on the 'upload-success' event. Thus,

uppy.on('upload-success', function (fileId, data) 

Needs to be changed to:

uppy.on('upload-success', function (file, data)

And you don't have to grab the file from the fileID

@janko-m

This comment has been minimized.

Show comment
Hide comment
@janko-m

janko-m May 3, 2018

Thanks for the heads up, I updated the guides now to use the latest Uppy.

Owner

janko-m commented May 3, 2018

Thanks for the heads up, I updated the guides now to use the latest Uppy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment