fix: slug value in webhook payload (#12290)

Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-11-20 15:39:21 +00:00
1 parent 9eb2ae470c
commit 77fa3702db
7 files changed
+12 -12

No files matched your search

@@ -1261,7 +1261,7 @@ export function getExpectedCalEventForBookingRequest({
}) {
return {
// keep adding more fields as needed, so that they can be verified in all scenarios
type: eventType.title,
type: eventType.slug,
// Not sure why, but milliseconds are missing in cal Event.
startTime: bookingRequest.start.replace(".000Z", "Z"),
endTime: bookingRequest.end.replace(".000Z", "Z"),