Мелкое изменение что бы работали подписк

This commit is contained in:
root
2025-12-01 16:36:21 +03:00
parent 00edfdbd19
commit 51645096d3

View File

@@ -78,7 +78,7 @@ async def _fetch_user_and_subs(telegram_id: int):
if not user or not isinstance(user, dict):
return None, []
user_id = user["id"]
user_id = user["telegram_id"]
subs = await call_api("GET", f"/subscriptions/{user_id}")
if subs == "ERROR" or not isinstance(subs, list):