Skip to content

Scheduling infrastructure for absolutely everyone.

Adds booking data to SDK success event (#6737)

Omar Lópeza90419c40ba2
diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx
index 7b7d4749af3..91c465301e3 100644
--- a/apps/web/pages/booking/[uid].tsx
+++ b/apps/web/pages/booking/[uid].tsx
@@ -255,6 +255,7 @@ export default function Success(props: SuccessProps) {
if (!sdkActionManager) return;
// TODO: We should probably make it consistent with Webhook payload. Some data is not available here, as and when requirement comes we can add
sdkActionManager.fire("bookingSuccessful", {
+ booking: bookingInfo,
eventType,
date: date.toString(),
duration: calculatedDuration,