Skip to content

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

fix: views on dataroom cards

Marc Seitzb15ff68e38a7
diff --git a/pages/api/teams/[teamId]/datarooms/index.ts b/pages/api/teams/[teamId]/datarooms/index.ts
index 5054183c..6dfd0b86 100644
--- a/pages/api/teams/[teamId]/datarooms/index.ts
+++ b/pages/api/teams/[teamId]/datarooms/index.ts
@@ -46,7 +46,7 @@ export default async function handle(
},
include: {
_count: {
- select: { documents: true },
+ select: { documents: true, views: true },
},
},
});