Merged in fix/sw-2091-remove-breakfast (pull request #1689)

fix(SW-2091): remove breakfast ancillaries

* fix(SW-2091): remove breakfast ancillaries

* Send array in correct format

* Break out function


Approved-by: Bianca Widstam
This commit is contained in:
Niclas Edenvin
2025-04-01 14:34:51 +00:00
parent 35f9c3aab5
commit d9c2ac12a1
3 changed files with 61 additions and 43 deletions

View File

@@ -576,7 +576,7 @@ export const bookingMutationRouter = router({
{
headers,
} as RequestInit,
{ language, codes }
[["language", language], ...codes.map((code) => ["codes", code])]
)
if (!apiResponse.ok) {