π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
Fix compilation error. If shouldUseMultipart is set we also have to set endpoint to avoid a type error.
Sven Herrmann5bc1908a593f
diff --git a/libraries/react-shared-libraries/src/helpers/uppy.upload.ts b/libraries/react-shared-libraries/src/helpers/uppy.upload.tsindex c1ec692ae..bc93b1e4e 100644--- a/libraries/react-shared-libraries/src/helpers/uppy.upload.ts+++ b/libraries/react-shared-libraries/src/helpers/uppy.upload.ts@@ -26,6 +26,7 @@ export const getUppyUploadPlugin = (provider: string, fetch: any, backendUrl: stplugin: AwsS3Multipart,options: {shouldUseMultipart: (file : any) => true,+ endpoint: '',createMultipartUpload: async (file: any) => {const arrayBuffer = await new Response(file.data).arrayBuffer();const fileHash = sha256(Buffer.from(arrayBuffer));