From 65306c96716a27a368014baffd6e05a88484a30b Mon Sep 17 00:00:00 2001 From: John Pariseau Date: Wed, 15 Apr 2020 12:49:54 -0400 Subject: [PATCH] info returned is just the filename, not an object --- src/DropzoneS3Uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DropzoneS3Uploader.js b/src/DropzoneS3Uploader.js index 5186a7b5..cc921c48 100644 --- a/src/DropzoneS3Uploader.js +++ b/src/DropzoneS3Uploader.js @@ -148,7 +148,7 @@ export default class DropzoneS3Uploader extends React.Component { handleFinish = (info, file) => { const uploadedFile = Object.assign({ file, - fileUrl: this.fileUrl(this.props.s3Url, info.filename) + fileUrl: this.fileUrl(this.props.s3Url, info) }, info); const uploadedFiles = this.state.uploadedFiles;