From a2712504e2a4209ea86757113fd761cf4e6d88e8 Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Sat, 30 Nov 2024 20:02:18 -0800 Subject: [PATCH] fix: Player participation not actually updating --- backend-flask/events.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend-flask/events.py b/backend-flask/events.py index 3921adf..af2ff6c 100644 --- a/backend-flask/events.py +++ b/backend-flask/events.py @@ -289,6 +289,8 @@ def update_event(player: Player, event_id: int, json: UpdateEventJson, **_): else: player_event.role = None + db.session.commit() + event.update_discord_message() return EventSchema.from_model(event).dict(by_alias=True), 200