fix get subscriptions endpoint

This commit is contained in:
bakatrouble 2025-08-01 09:59:57 +03:00
parent baea50eb73
commit 69d0950037

View File

@ -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 r.smembers(REDIS_SUBS_KEY), 'subscriptions': await get_subs(r),
}) })