actions: Use transaction.atomic in do_change_realm_org_type.

This commit is contained in:
Sahil Batra
2022-01-03 16:51:13 +05:30
committed by Tim Abbott
parent c8f81ded4e
commit 8945a64024

View File

@@ -4739,6 +4739,7 @@ def do_change_logo_source(
send_event(realm, event, active_user_ids(realm.id))
@transaction.atomic(durable=True)
def do_change_realm_org_type(
realm: Realm,
org_type: int,