From 6d0f0d6bdd550999ca80d65b2a2718f1961d17bc Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Fri, 15 Sep 2023 14:29:44 +0100 Subject: [PATCH] fix: Include returns all credential fields, select excludes (#11383) --- packages/lib/server/queries/teams/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/server/queries/teams/index.ts b/packages/lib/server/queries/teams/index.ts index 633ccffb84..c78e937286 100644 --- a/packages/lib/server/queries/teams/index.ts +++ b/packages/lib/server/queries/teams/index.ts @@ -30,7 +30,7 @@ export async function getTeamWithMembers(args: { }, selectedCalendars: true, credentials: { - include: { + select: { app: { select: { slug: true,