mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
realm: Create RealmAuditLog entry when adding realm playgrounds.
This commit also adds 'acting_user' parameter to do_add_realm_playground function. Fixes a part of #21268.
This commit is contained in:
@@ -302,7 +302,7 @@ def remove_realm_playground() -> Dict[str, object]:
|
||||
pygments_language="Python",
|
||||
url_prefix="https://python.example.com",
|
||||
)
|
||||
playground_id = do_add_realm_playground(get_realm("zulip"), **playground_info)
|
||||
playground_id = do_add_realm_playground(get_realm("zulip"), acting_user=None, **playground_info)
|
||||
return {
|
||||
"playground_id": playground_id,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user