Merged in fix/SW-2827-wrong-key (pull request #2162)

fix: error key was wrong for hotel availability input object

* fix: error key was wrong


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-05-20 12:54:16 +00:00
parent 7becc47fa8
commit 6634bfa93f

View File

@@ -99,7 +99,7 @@ export const selectRateRoomsAvailabilityInputSchema = z
return fromDate.isBefore(toDate)
},
{
message: "FROMDATE_BEFORE_TODATE",
message: "TODATE_MUST_BE_AFTER_FROMDATE",
}
)
.refine(