feat: Redirect when event type does not match booking type (#14460)

* feat: Redirect when event type does not match booking type

* Favour early return

* If multiple bookingUid/rescheduleUid given, use first

* rescheduleUid/bookingUid behaviour is required
This commit is contained in:
Alex van Andel authored and GitHub committed 2024-05-08 10:33:22 -03:00
1 parent 5d7b2a12a7
commit c5bd45fdfb
5 files changed
+152 -55

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ model EventType {
metadata Json?
/// @zod.custom(imports.successRedirectUrl)
successRedirectUrl String?
forwardParamsSuccessRedirect Boolean? @default(true)
forwardParamsSuccessRedirect Boolean? @default(true)
workflows WorkflowsOnEventTypes[]
/// @zod.custom(imports.intervalLimitsType)
bookingLimits Json?