From afad948f85630146b8bf2988504878f3577e6b9d Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Fri, 16 Feb 2024 10:39:58 -0500 Subject: [PATCH] de-uwu api message --- docs/index.md | 2 ++ relay/views/api.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 98e115e..e73db90 100644 --- a/docs/index.md +++ b/docs/index.md @@ -7,3 +7,5 @@ ActivityRelay is a small ActivityPub server that relays messages to subscribed i [Configuration](configuration.md) [Commands](commands.md) + +[API](api.md) diff --git a/relay/views/api.py b/relay/views/api.py index d792068..63a3208 100644 --- a/relay/views/api.py +++ b/relay/views/api.py @@ -67,7 +67,7 @@ async def handle_api_path(request: web.Request, handler: Coroutine) -> web.Respo @register_route('/api/v1/token') class Login(View): async def get(self, request: Request) -> Response: - return Response.new({'message': 'Token valid :3'}) + return Response.new({'message': 'Token valid'}) async def post(self, request: Request) -> Response: