diff --git a/drivers/place/booking_approver.cr b/drivers/place/booking_approver.cr index bfdd22f4be..bc1802cac7 100644 --- a/drivers/place/booking_approver.cr +++ b/drivers/place/booking_approver.cr @@ -73,7 +73,8 @@ class Place::BookingApprover < PlaceOS::Driver bookings = Array(Booking).from_json staff_api.query_bookings( type: booking_type, zones: [get_building_id], - approved: false + approved: false, + period_end: 8.weeks.from_now.to_unix ).get.to_json bookings.each do |booking|