Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: fix TypeScript type issues in SCIM endpoint and regenerate Prisma client
Cursor Agentb1407705e975
diff --git a/pages/api/scim/v2.0/[...path].ts b/pages/api/scim/v2.0/[...path].tsindex d8e40bab..ee67cc2e 100644--- a/pages/api/scim/v2.0/[...path].ts+++ b/pages/api/scim/v2.0/[...path].ts@@ -35,7 +35,7 @@ export default async function handler(}});- const { status, json } = await directorySyncController.requests.handle(+ const response = await directorySyncController.requests.handle({method: req.method as "GET" | "POST" | "PUT" | "PATCH" | "DELETE",body,@@ -48,7 +48,7 @@ export default async function handler(handleSCIMEvents,);- return res.status(status).json(json);+ return res.status(response.status).json(response.data || {});} catch (error: any) {console.error("[SCIM] Request error:", error);return res.status(500).json({