From a90419c40ba28b77157f29bda4d2dbd2b2025df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Thu, 26 Jan 2023 22:32:33 -0700 Subject: [PATCH] Adds booking data to SDK success event (#6737) --- apps/web/pages/booking/[uid].tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx index 7b7d4749af..91c465301e 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,