Skip to content

Commit 6e13e79

Browse files
committed
send the multipart upload ID back to client on ready
1 parent c76de4a commit 6e13e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/s3-upload-stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ module.exports = {
251251
ws.emit('error', 'Failed to create a multipart upload on S3: ' + JSON.stringify(err));
252252
else {
253253
multipartUploadID = data.UploadId;
254-
ws.emit('ready');
254+
ws.emit('ready', multipartUploadID);
255255
e.emit('ready'); // Internal event
256256
}
257257
}

0 commit comments

Comments
 (0)