Skip to content

Scheduling infrastructure for absolutely everyone.

fix: pull managed event type bookings in zapier (#12106)

Carina Wollendorfer52386e08f294
diff --git a/packages/features/webhooks/lib/scheduleTrigger.ts b/packages/features/webhooks/lib/scheduleTrigger.ts
index b2210dad6fb..5d78af96087 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 } }],
};
}
}