Skip to content

Commit

Permalink
Assign people to room nights even if not approved
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Aug 1, 2024
1 parent c6a1e30 commit e1b9ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tuber/api/hotels.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def add_roommates(event, hotel_block, room_id):
if night.requested:
if room_nights[night.room_night].restricted:
for approval in req.room_night_approvals:
if approval.room_night == night.room_night and approval.approved:
if approval.room_night == night.room_night:
assign = True
break
else:
Expand Down

0 comments on commit e1b9ac5

Please sign in to comment.