fix: Player participation not actually updating
parent
d1c5e8987f
commit
a2712504e2
|
@ -289,6 +289,8 @@ def update_event(player: Player, event_id: int, json: UpdateEventJson, **_):
|
||||||
else:
|
else:
|
||||||
player_event.role = None
|
player_event.role = None
|
||||||
|
|
||||||
|
db.session.commit()
|
||||||
|
|
||||||
event.update_discord_message()
|
event.update_discord_message()
|
||||||
|
|
||||||
return EventSchema.from_model(event).dict(by_alias=True), 200
|
return EventSchema.from_model(event).dict(by_alias=True), 200
|
||||||
|
|
Loading…
Reference in New Issue