fix: bookings made via API don't include the specified location (#15067)

* fix booking via api not picking default location when unspecified

* test:add tests for default location of event for booking

* fix:failing tests

---------

Co-authored-by: Shaik-Sirajuddin <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-06-11 17:06:43 +00:00
1 parent 5e09281974
commit 219b13d053
4 files changed
+289 -5

No files matched your search

@@ -30,7 +30,7 @@ export function getMockRequestDataForBooking({
responses: {
email: string;
name: string;
location: { optionValue: ""; value: string };
location?: { optionValue: ""; value: string };
smsReminderNumber?: string;
};
};