Skip to content

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

fix: remove url field from links.get response

Cursor Agentabafd4fe34d2
diff --git a/pages/api/webhooks/services/[...path]/index.ts b/pages/api/webhooks/services/[...path]/index.ts
index 7a1b95f1..9785fa22 100644
--- a/pages/api/webhooks/services/[...path]/index.ts
+++ b/pages/api/webhooks/services/[...path]/index.ts
@@ -277,7 +277,6 @@ async function handleLinksGet(teamId: string, res: NextApiResponse) {
linkType: true,
documentId: true,
dataroomId: true,
- url: true,
slug: true,
domainSlug: true,
expiresAt: true,
@@ -296,7 +295,6 @@ async function handleLinksGet(teamId: string, res: NextApiResponse) {
linkType: link.linkType,
documentId: link.documentId ?? null,
dataroomId: link.dataroomId ?? null,
- url: link.url,
slug: link.slug,
domainSlug: link.domainSlug,
expiresAt: link.expiresAt,