Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
chore: cleanup
Marc Seitzbc3e6258df0e
diff --git a/lib/files/put-file-server.ts b/lib/files/put-file-server.tsindex 5c8653f6..dc6ef6c9 100644--- a/lib/files/put-file-server.ts+++ b/lib/files/put-file-server.ts@@ -94,12 +94,10 @@ const putFileInS3Server = async ({const key = `${teamId}/${docId}/${slugify(name)}${ext}`;- const buffer = file.buffer;-const params = {Bucket: process.env.NEXT_PRIVATE_UPLOAD_BUCKET,Key: key,- Body: buffer,+ Body: file.buffer,ContentType: file.type,};