Skip to content

Commit

Permalink
Add optional chaining to abortController.signal
Browse files Browse the repository at this point in the history
Signed-off-by: cosa65 <[email protected]>
  • Loading branch information
cosa65 committed Nov 30, 2023
1 parent 9efa6cc commit ab401e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/upload/processMultipartUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const putPartInS3 = async (
method: 'put',
data: blob,
url: signedUrl,
signal: abortController.signal,
signal: abortController?.signal,
headers: {
'Content-Type': 'application/octet-stream',
},
Expand Down

0 comments on commit ab401e1

Please sign in to comment.