Мелкое изменение что бы работали подписк
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user