Instantly share code, notes, and snippets.

What would you like to do?
Simple walkthrough for adding direct (S3) uploads to a Roda & Sequel app with Shrine

This comment has been minimized.

fordfischer commented 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


This comment has been minimized.


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