Skip to content

Commit

Permalink
Fix for IOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-Jess committed Nov 22, 2024
1 parent 46962af commit 2b5e113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/laundry/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get(self, request, room_ids):
room_data = room_status(get_object_or_404(LaundryRoom, room_id=room_id))
room_data["id"] = room_id
room_data["usage_data"] = HallUsage.compute_usage(room_id)
output["rooms"].append(room_id)
output["rooms"].append(room_data)

Check warning on line 54 in backend/laundry/views.py

View check run for this annotation

Codecov / codecov/patch

backend/laundry/views.py#L54

Added line #L54 was not covered by tests

record_analytics(Metric.LAUNDRY_VIEWED, request.user.username)

Expand Down

0 comments on commit 2b5e113

Please sign in to comment.