hotfix ctx removal
parent
cabafbdd77
commit
ef3838b476
|
@ -62,7 +62,7 @@ async function createOrlistAllWebhooks(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (safe.data.eventTypeId) {
|
if (safe.data.eventTypeId) {
|
||||||
const team = await ctx.prisma.team.findFirst({
|
const team = await prisma.team.findFirst({
|
||||||
where: {
|
where: {
|
||||||
eventTypes: {
|
eventTypes: {
|
||||||
some: {
|
some: {
|
||||||
|
|
Loading…
Reference in New Issue