Skip to content

Instantly share code, notes, and snippets.

@janko
Last active May 13, 2018 09:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janko/9aea154d72eb85b1fbfa16e1d77946e5 to your computer and use it in GitHub Desktop.
Save janko/9aea154d72eb85b1fbfa16e1d77946e5 to your computer and use it in GitHub Desktop.
Simple walkthrough for adding direct (S3) uploads to a Roda & Sequel app with Shrine
@savfischer
Copy link

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
Copy link
Author

janko 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