From ab401e1382058795576b6888cd5855a1a2a0eb41 Mon Sep 17 00:00:00 2001 From: cosa65 Date: Thu, 30 Nov 2023 11:25:41 -0300 Subject: [PATCH] Add optional chaining to abortController.signal Signed-off-by: cosa65 --- src/utils/upload/processMultipartUpload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/upload/processMultipartUpload.js b/src/utils/upload/processMultipartUpload.js index c1c0e3d97e..6a85da268e 100644 --- a/src/utils/upload/processMultipartUpload.js +++ b/src/utils/upload/processMultipartUpload.js @@ -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', },