Scheduling infrastructure for absolutely everyone.
hotfix ctx removal
Syed Ali Shahbazef3838b4764c
diff --git a/pages/api/hooks/index.ts b/pages/api/hooks/index.tsindex e92a6810805..f3f32574990 100644--- a/pages/api/hooks/index.ts+++ b/pages/api/hooks/index.ts@@ -62,7 +62,7 @@ async function createOrlistAllWebhooks(return;}if (safe.data.eventTypeId) {- const team = await ctx.prisma.team.findFirst({+ const team = await prisma.team.findFirst({where: {eventTypes: {some: {