hotfix ctx removal

This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2022-06-08 13:20:44 +05:30
1 parent ef3838b476
commit b881312f10
1 file changed
+1 -1
+1 -1
View File
@@ -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: {