fix get subscriptions endpoint
This commit is contained in:
parent
69d0950037
commit
2c2088d993
@ -84,7 +84,7 @@ async def login(_, body: LoginRequest):
|
|||||||
async def get_subscriptions(_):
|
async def get_subscriptions(_):
|
||||||
async with redis.conn as r:
|
async with redis.conn as r:
|
||||||
return jsonr({
|
return jsonr({
|
||||||
'subscriptions': await get_subs(r),
|
'subscriptions': sorted(list(await get_subs(r))),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user