Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

Cleaning up

Sven Herrmann2a9b9a539ccc
diff --git a/libraries/react-shared-libraries/src/helpers/uppy.upload.ts b/libraries/react-shared-libraries/src/helpers/uppy.upload.ts
index d8704d56b..c1ec692ae 100644
--- a/libraries/react-shared-libraries/src/helpers/uppy.upload.ts
+++ b/libraries/react-shared-libraries/src/helpers/uppy.upload.ts
@@ -25,9 +25,7 @@ export const getUppyUploadPlugin = (provider: string, fetch: any, backendUrl: st
return {
plugin: AwsS3Multipart,
options: {
- shouldUseMultipart(file : any) {
- return true;
- },
+ shouldUseMultipart: (file : any) => true,
createMultipartUpload: async (file: any) => {
const arrayBuffer = await new Response(file.data).arrayBuffer();
const fileHash = sha256(Buffer.from(arrayBuffer));