mirror of https://github.com/zulip/zulip.git
actions: Use transaction.atomic for do_change_avatar_fields.
This commit is contained in:
parent
a2df7470d5
commit
5e506a833f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue