Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
users: Add transaction.atomic decorator to do_update_bot_config_data.
Prakhar Pratyush30edd1a3b041
diff --git a/zerver/actions/users.py b/zerver/actions/users.pyindex 61ed0fc8c99..38e1d495bf1 100644--- a/zerver/actions/users.py+++ b/zerver/actions/users.py@@ -563,11 +563,12 @@ def do_update_outgoing_webhook_service()[email protected](durable=True)def do_update_bot_config_data(bot_profile: UserProfile, config_data: dict[str, str]) -> None:for key, value in config_data.items():set_bot_config(bot_profile, key, value)updated_config_data = get_bot_config(bot_profile)- send_event(+ send_event_on_commit(bot_profile.realm,dict(type="realm_bot",