hotfix ctx removal

pull/9078/head
Syed Ali Shahbaz 2022-06-08 13:20:09 +05:30 committed by GitHub
parent cabafbdd77
commit ef3838b476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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: {