Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
decorator: Remove wrong positional argument remote_realm.
Aman Agrawal5277ebb2688c
diff --git a/corporate/lib/decorator.py b/corporate/lib/decorator.pyindex 97fd78cdedb..41b1fb94fb3 100644--- a/corporate/lib/decorator.py+++ b/corporate/lib/decorator.py@@ -34,11 +34,10 @@ def self_hosting_management_endpoint(def authenticated_remote_realm_management_endpoint(view_func: Callable[Concatenate[HttpRequest, RemoteRealm, ParamT], HttpResponse]-) -> Callable[Concatenate[HttpRequest, RemoteRealm, ParamT], HttpResponse]: # nocoverage+) -> Callable[Concatenate[HttpRequest, ParamT], HttpResponse]: # nocoverage@wraps(view_func)def _wrapped_view_func(request: HttpRequest,- remote_realm: RemoteRealm,/,*args: ParamT.args,**kwargs: ParamT.kwargs,