Skip to content

Commit

Permalink
Remove unnecessary .model_dump()
Browse files Browse the repository at this point in the history
  • Loading branch information
hw0lff committed Apr 5, 2024
1 parent bb33e4f commit 941ac68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/blueprints/facilities/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def room_show(room_id: int) -> ResponseReturnValue:
page_title=f"Raum {room.short_name}",
room=room,
ports=room.patch_ports,
user_buttons=[user_button(user).model_dump() for user in room.users],
user_buttons=[user_button(user) for user in room.users],
user_histories=[
(
user_button(room_history_entry.user).model_dump(),
Expand Down

0 comments on commit 941ac68

Please sign in to comment.