mirror of
https://github.com/zulip/zulip.git
synced 2025-10-26 09:34:02 +00:00
actions: Use transaction.atomic for do_change_avatar_fields.
This commit is contained in:
@@ -4677,6 +4677,7 @@ def notify_avatar_url_change(user_profile: UserProfile) -> None:
|
||||
)
|
||||
|
||||
|
||||
@transaction.atomic(savepoint=False)
|
||||
def do_change_avatar_fields(
|
||||
user_profile: UserProfile,
|
||||
avatar_source: str,
|
||||
|
||||
Reference in New Issue
Block a user