diff --git a/backend/laundry/views.py b/backend/laundry/views.py index 781ed4b8..a6e6715a 100644 --- a/backend/laundry/views.py +++ b/backend/laundry/views.py @@ -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) record_analytics(Metric.LAUNDRY_VIEWED, request.user.username)