Scheduling infrastructure for absolutely everyone.
hotfix ctx removal
Syed Ali Shahbazb881312f1038
diff --git a/pages/api/hooks/[id].ts b/pages/api/hooks/[id].tsindex 3a14efa5922..7debc7ac8df 100644--- a/pages/api/hooks/[id].ts+++ b/pages/api/hooks/[id].ts@@ -96,7 +96,7 @@ export async function WebhookById(}}if (safeBody.data.eventTypeId) {- const team = await ctx.prisma.team.findFirst({+ const team = await prisma.team.findFirst({where: {eventTypes: {some: {