fix get subscriptions endpoint

This commit is contained in:
bakatrouble 2025-08-01 10:03:28 +03:00
parent 69d0950037
commit 2c2088d993

View File

@ -84,7 +84,7 @@ async def login(_, body: LoginRequest):
async def get_subscriptions(_):
async with redis.conn as r:
return jsonr({
'subscriptions': await get_subs(r),
'subscriptions': sorted(list(await get_subs(r))),
})