Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit ed74721

Browse files
committed
upload onprogress
1 parent 9051770 commit ed74721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/uploadToS3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function uploadToS3(attachment) {
3131
}
3232
}
3333

34-
putFileToS3.onprogress = res => {
34+
putFileToS3.upload.onprogress = res => {
3535
// TODO, move this out
3636
const { lengthComputable, loaded, total } = res
3737
const tempId = getTempId(attachment)

0 commit comments

Comments
 (0)