decorator: Remove wrong positional argument remote_realm.

Not sure how this even worked with this required argument.
This commit is contained in:
Aman Agrawal 2023-11-29 04:40:57 +00:00 committed by Tim Abbott
parent d8f8152f9b
commit 5277ebb268
1 changed files with 1 additions and 2 deletions

View File

@ -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,