Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: missing fileSize

Marc Seitz89041057f7a8
diff --git a/pages/api/webhooks/services/[...path]/index.ts b/pages/api/webhooks/services/[...path]/index.ts
index 3c9cfcf3..7242bb1a 100644
--- a/pages/api/webhooks/services/[...path]/index.ts
+++ b/pages/api/webhooks/services/[...path]/index.ts
@@ -158,6 +158,7 @@ export default async function incomingWebhookHandler(
storageType: storageType,
contentType: contentType,
supportedFileType: supportedContentType,
+ fileSize: fileBuffer.byteLength,
},
teamId: incomingWebhook.teamId,
numPages: 1,