Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

actions: Use transaction.atomic in do_change_realm_org_type.

Sahil Batra8945a64024b6
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index 965700dc2b0..c75e4445d86 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -4739,6 +4739,7 @@ def do_change_logo_source(
send_event(realm, event, active_user_ids(realm.id))
[email protected](durable=True)
def do_change_realm_org_type(
realm: Realm,
org_type: int,