fix: Fixed the follow user API did not return a success value
This commit is contained in:
@@ -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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user