mirror of https://github.com/zulip/zulip.git
decorator: Remove wrong positional argument remote_realm.
Not sure how this even worked with this required argument.
This commit is contained in:
parent
d8f8152f9b
commit
5277ebb268
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue