de-uwu api message

This commit is contained in:
Izalia Mae 2024-02-16 10:39:58 -05:00
parent 8f8f38cc4c
commit afad948f85
2 changed files with 3 additions and 1 deletions

View file

@ -7,3 +7,5 @@ ActivityRelay is a small ActivityPub server that relays messages to subscribed i
[Configuration](configuration.md) [Configuration](configuration.md)
[Commands](commands.md) [Commands](commands.md)
[API](api.md)

View file

@ -67,7 +67,7 @@ async def handle_api_path(request: web.Request, handler: Coroutine) -> web.Respo
@register_route('/api/v1/token') @register_route('/api/v1/token')
class Login(View): class Login(View):
async def get(self, request: Request) -> Response: 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: async def post(self, request: Request) -> Response: