Skip to content

Commit

Permalink
chore: improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
Udit-takkar committed Dec 20, 2023
1 parent 294c5d9 commit 2e24813
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/features/instant-meeting/handleInstantMeeting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,11 @@ const handleInstantMeetingWebhookTrigger = async (args: {
const subscribers = await prisma.webhook.findMany({
where: {
AND: {
eventTypeId: {
equals: args.eventTypeId,
},
eventTypeId: args.eventTypeId,
eventTriggers: {
has: eventTrigger,
},
active: {
equals: true,
},
active: true,
},
},
select: {
Expand Down

0 comments on commit 2e24813

Please sign in to comment.