Skip to content

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

fix: remove logs

Marc Seitz68492562d49b
diff --git a/pages/api/teams/[teamId]/datarooms/[id]/views/index.ts b/pages/api/teams/[teamId]/datarooms/[id]/views/index.ts
index e65043ee..720458c8 100644
--- a/pages/api/teams/[teamId]/datarooms/[id]/views/index.ts
+++ b/pages/api/teams/[teamId]/datarooms/[id]/views/index.ts
@@ -45,8 +45,6 @@ export default async function handle(
return res.status(403).end("Unauthorized to access this team");
}
- console.log("pauseStartsAt", team.pauseStartsAt);
-
const dataroom = await prisma.dataroom.findUnique({
where: {
id: dataroomId,
@@ -118,9 +116,6 @@ export default async function handle(
const views = dataroom?.views || [];
- console.log("views", views);
- console.log("hiddenViewsFromPause", hiddenViewsFromPause);
-
const returnViews = views.map((view) => {
return {
...view,