Merged in fix/make-city-optional-in-parseSelectHotelSearchParams (pull request #2309)
fix: Make city optional in parseSelectHotelSearchParams * Make city optional in parseSelectHotelSearchParams Approved-by: Linus Flood
This commit is contained in:
committed by
Linus Flood
parent
925890dc71
commit
879a383b61
@@ -106,7 +106,7 @@ export function parseSelectHotelSearchParams(
|
|||||||
keyRenameMap,
|
keyRenameMap,
|
||||||
typeHints,
|
typeHints,
|
||||||
schema: z.object({
|
schema: z.object({
|
||||||
city: z.string(),
|
city: z.string().optional(),
|
||||||
hotelId: z.string().optional(),
|
hotelId: z.string().optional(),
|
||||||
fromDate: z.string(),
|
fromDate: z.string(),
|
||||||
toDate: z.string(),
|
toDate: z.string(),
|
||||||
|
|||||||
Reference in New Issue
Block a user