Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: improve roles
Marc Seitzd9bab7c72e9b
diff --git a/ee/features/billing/cancellation/api/retention-route.ts b/ee/features/billing/cancellation/api/retention-route.tsindex f756baed..6ecc75f1 100644--- a/ee/features/billing/cancellation/api/retention-route.ts+++ b/ee/features/billing/cancellation/api/retention-route.ts@@ -30,6 +30,9 @@ export async function handleRoute(req: NextApiRequest, res: NextApiResponse) {users: {some: {userId: userId,+ role: {+ in: ["ADMIN", "MANAGER"],+ },},},},