Fix duplicate method name
This commit is contained in:
parent
c8388e0856
commit
33b1b8e39f
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ async def set_config(request: Request):
|
||||||
|
|
||||||
|
|
||||||
@register_route("GET", "/admin/config")
|
@register_route("GET", "/admin/config")
|
||||||
def set_config(request: Request):
|
def get_config(request: Request):
|
||||||
if not (auth := request.headers.get("Authorization")):
|
if not (auth := request.headers.get("Authorization")):
|
||||||
return Response.new_error(403, "access denied", "json")
|
return Response.new_error(403, "access denied", "json")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue