From a49c0d2d8859c32654c74f48062cdc8a5983663e Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Sat, 26 Nov 2022 21:56:49 -0700 Subject: [PATCH] Fix duplicate method name --- projects/activitypub_relay/src/python/relay/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/activitypub_relay/src/python/relay/views.py b/projects/activitypub_relay/src/python/relay/views.py index a2da4b9..3dc05fa 100644 --- a/projects/activitypub_relay/src/python/relay/views.py +++ b/projects/activitypub_relay/src/python/relay/views.py @@ -257,7 +257,7 @@ async def set_config(request: Request): @register_route("GET", "/admin/config") -def set_config(request: Request): +def get_config(request: Request): if not (auth := request.headers.get("Authorization")): return Response.new_error(403, "access denied", "json")