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.

refactor: Make acting_user a mandatory kwarg for do_change_logo_source.

shanukun6b8dfc288865
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index 6db053589ed..675850684eb 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -4038,7 +4038,7 @@ def do_change_icon_source(
def do_change_logo_source(
- realm: Realm, logo_source: str, night: bool, acting_user: Optional[UserProfile] = None
+ realm: Realm, logo_source: str, night: bool, *, acting_user: Optional[UserProfile]
) -> None:
if not night:
realm.logo_source = logo_source