Skip to content

Commit

Permalink
fixed onUploadEnd argument property
Browse files Browse the repository at this point in the history
  • Loading branch information
lionng429 committed Mar 26, 2018
1 parent 713fa9a commit e9cb8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UploadManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class UploadManager extends Component {
onUploadEnd(Object.assign(file, {
progress: error && 0 || 100,
error,
result,
result: error && undefined || result,
status: error && uploadStatus.FAILED || uploadStatus.UPLOADED
}));
}
Expand Down

0 comments on commit e9cb8e3

Please sign in to comment.