From 52386e08f294c411af8085a0f4a3dddc7527e086 Mon Sep 17 00:00:00 2001 From: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Date: Thu, 26 Oct 2023 10:18:37 -0400 Subject: [PATCH] fix: pull managed event type bookings in zapier (#12106) Co-authored-by: CarinaWolli --- packages/features/webhooks/lib/scheduleTrigger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/webhooks/lib/scheduleTrigger.ts b/packages/features/webhooks/lib/scheduleTrigger.ts index b2210dad6f..5d78af9608 100644 --- a/packages/features/webhooks/lib/scheduleTrigger.ts +++ b/packages/features/webhooks/lib/scheduleTrigger.ts @@ -188,7 +188,7 @@ export async function listBookings( }; } else { where.eventType = { - teamId: account.id, + OR: [{ teamId: account.id }, { parent: { teamId: account.id } }], }; } }