diff --git a/apps/scandic-web/server/routers/hotels/input.ts b/apps/scandic-web/server/routers/hotels/input.ts index dfb0e4497..b58d730f6 100644 --- a/apps/scandic-web/server/routers/hotels/input.ts +++ b/apps/scandic-web/server/routers/hotels/input.ts @@ -99,7 +99,7 @@ export const selectRateRoomsAvailabilityInputSchema = z return fromDate.isBefore(toDate) }, { - message: "FROMDATE_BEFORE_TODATE", + message: "TODATE_MUST_BE_AFTER_FROMDATE", } ) .refine(