hotfix ctx removal

This commit is contained in:
Syed Ali Shahbaz
2022-06-08 13:20:09 +05:30
committed by GitHub
parent cabafbdd77
commit ef3838b476
+1 -1
View File
@@ -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: {