diff --git a/app/repositories/players.py b/app/repositories/players.py index 38c75a10e..71d223b8b 100644 --- a/app/repositories/players.py +++ b/app/repositories/players.py @@ -240,6 +240,7 @@ async def update( update_fields: PlayerUpdateFields = {} if not isinstance(name, _UnsetSentinel): update_fields["name"] = name + update_fields["safe_name"] = make_safe_name(name) if not isinstance(email, _UnsetSentinel): update_fields["email"] = email if not isinstance(priv, _UnsetSentinel):