Skip to content

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

chore: remove dataroomId from group viewer create

Marc Seitz076ce5e133a2
diff --git a/pages/api/teams/[teamId]/datarooms/[id]/groups/[groupId]/members/index.ts b/pages/api/teams/[teamId]/datarooms/[id]/groups/[groupId]/members/index.ts
index 54a2cf3e..14e24f97 100644
--- a/pages/api/teams/[teamId]/datarooms/[id]/groups/[groupId]/members/index.ts
+++ b/pages/api/teams/[teamId]/datarooms/[id]/groups/[groupId]/members/index.ts
@@ -64,7 +64,6 @@ export default async function handle(
await prisma.viewer.createMany({
data: emails.map((email) => ({
email,
- dataroomId,
teamId,
})),
skipDuplicates: true,