From 2c2088d993fe533807dc1905c8d118c4e012a35f Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Fri, 1 Aug 2025 10:03:28 +0300 Subject: [PATCH] fix get subscriptions endpoint --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 50d491c..263a054 100644 --- a/server.py +++ b/server.py @@ -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))), })