Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
chore: revert
Marc Seitz62e88c9d18c3
diff --git a/pages/api/teams/[teamId]/datarooms/create-from-folder.ts b/pages/api/teams/[teamId]/datarooms/create-from-folder.tsindex 8e476665..7cb9db50 100644--- a/pages/api/teams/[teamId]/datarooms/create-from-folder.ts+++ b/pages/api/teams/[teamId]/datarooms/create-from-folder.ts@@ -138,13 +138,6 @@ export default async function handle(},},select: {- brand: {- select: {- accentColor: true,- brandColor: true,- logo: true,- },- },id: true,plan: true,_count: {@@ -204,13 +197,6 @@ export default async function handle(folders: {create: [],},- brand: {- create: {- accentColor: team.brand?.accentColor,- brandColor: team.brand?.brandColor,- logo: team.brand?.logo,- },- },},select: { id: true },});diff --git a/pages/api/teams/[teamId]/datarooms/index.ts b/pages/api/teams/[teamId]/datarooms/index.tsindex add88d96..552bba60 100644--- a/pages/api/teams/[teamId]/datarooms/index.ts+++ b/pages/api/teams/[teamId]/datarooms/index.ts@@ -84,15 +84,6 @@ export default async function handle(},},},- include: {- brand: {- select: {- accentColor: true,- brandColor: true,- logo: true,- },- },- },});if (!team) {@@ -121,13 +112,6 @@ export default async function handle(name: name,teamId: teamId,pId: pId,- brand: {- create: {- accentColor: team.brand?.accentColor,- brandColor: team.brand?.brandColor,- logo: team.brand?.logo,- },- },},});diff --git a/pages/api/teams/[teamId]/datarooms/trial.ts b/pages/api/teams/[teamId]/datarooms/trial.tsindex b3545f64..2756867e 100644--- a/pages/api/teams/[teamId]/datarooms/trial.ts+++ b/pages/api/teams/[teamId]/datarooms/trial.ts@@ -56,13 +56,6 @@ export default async function handle(},},select: {- brand: {- select: {- accentColor: true,- brandColor: true,- logo: true,- },- },id: true,plan: true,_count: {@@ -103,13 +96,6 @@ export default async function handle(name: name,teamId: teamId,pId: pId,- brand: {- create: {- accentColor: team.brand?.accentColor,- brandColor: team.brand?.brandColor,- logo: team.brand?.logo,- },- },},});