Skip to content

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

wip

Marc Seitz34a867103609
diff --git a/pages/api/revalidate.ts b/pages/api/revalidate.ts
index 79390052..bf8d651f 100644
--- a/pages/api/revalidate.ts
+++ b/pages/api/revalidate.ts
@@ -49,7 +49,10 @@ export default async function handler(
},
select: {
links: {
- where: { isArchived: false },
+ where: {
+ isArchived: false,
+ domainId: null,
+ },
select: {
id: true,
},