Adds booking data to SDK success event (#6737)

This commit is contained in:
Omar López
2023-01-27 11:02:33 +05:30
committed by GitHub
parent 16adf86c8c
commit a90419c40b
+1
View File
@@ -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,