Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix build
Marc Seitzb05b87b7eefa
diff --git a/pages/api/jobs/send-notification.ts b/pages/api/jobs/send-notification.tsindex f965446b..f2637849 100644--- a/pages/api/jobs/send-notification.ts+++ b/pages/api/jobs/send-notification.ts@@ -36,7 +36,7 @@ export default async function handle(viewerEmail: string | null;linkId: string;document: {- teamId: string;+ teamId: string | null;id: string;name: string;owner: {@@ -89,7 +89,7 @@ export default async function handle(const users = await prisma.userTeam.findMany({where: {role: { in: ["ADMIN", "MANAGER"] },- teamId: view.document!.teamId,+ teamId: view.document!.teamId!,},select: {user: {