Skip to content

Commit 2a9b9a5

Browse files
committed
Cleaning up
1 parent 77405de commit 2a9b9a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libraries/react-shared-libraries/src/helpers/uppy.upload.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ export const getUppyUploadPlugin = (provider: string, fetch: any, backendUrl: st
2525
return {
2626
plugin: AwsS3Multipart,
2727
options: {
28-
shouldUseMultipart(file : any) {
29-
return true;
30-
},
28+
shouldUseMultipart: (file : any) => true,
3129
createMultipartUpload: async (file: any) => {
3230
const arrayBuffer = await new Response(file.data).arrayBuffer();
3331
const fileHash = sha256(Buffer.from(arrayBuffer));

0 commit comments

Comments
 (0)