Fix duplicate method name
This commit is contained in:
parent
d4f5097317
commit
a49c0d2d88
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