mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-24 23:41:09 +00:00
de-uwu api message
This commit is contained in:
parent
8f8f38cc4c
commit
afad948f85
|
@ -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)
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue