fix: Fixed the follow user API did not return a success value

This commit is contained in:
LWR
2023-05-16 00:47:15 +08:00
parent ea86a85aef
commit 63817fbc29

View File

@@ -77,6 +77,8 @@ async def follow(request: aiohttp.web.Request) -> aiohttp.web.Response:
u = User(uid, get_credential())
await u.modify_relation(RelationType.SUBSCRIBE)
return web.Response(text="success")
def get_routes() -> RouteTableDef:
"""