Skip to content

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

misc: change error status code

Marc Seitz4f5b66465043
diff --git a/pages/api/webhooks/services/[...path]/index.ts b/pages/api/webhooks/services/[...path]/index.ts
index e3434497..8e7a5fd5 100644
--- a/pages/api/webhooks/services/[...path]/index.ts
+++ b/pages/api/webhooks/services/[...path]/index.ts
@@ -861,7 +861,7 @@ async function handleLinkUpdate(
if (!existingLink) {
return res
- .status(400)
+ .status(404)
.json({ error: "Link not found or not associated with this team" });
}