diff --git a/src/reservations/entity.ts b/src/reservations/entity.ts index 11ac9e7..f585dfa 100644 --- a/src/reservations/entity.ts +++ b/src/reservations/entity.ts @@ -90,7 +90,7 @@ export class Reservation { */ @Exclude() public isAvailableForReservation(): boolean { - return this.dateRangeStart.diff(dayjs(), 'day') <= 7 + return this.dateRangeStart.diff(dayjs(), 'hour') <= 7 * 24 } /**