fix: Player participation not actually updating

master
John Montagu, the 4th Earl of Sandvich 2024-11-30 20:02:18 -08:00
parent d1c5e8987f
commit a2712504e2
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 2 additions and 0 deletions

View File

@ -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