log-loza
All checks were successful
Deploy on push / deploy (push) Successful in 1m9s

This commit is contained in:
Untone 2024-06-06 12:42:54 +03:00
parent 76ee4a387c
commit 8d371e6519

View File

@ -129,6 +129,8 @@ async def precache_data():
profile = author.dict() if not isinstance(author, dict) else author profile = author.dict() if not isinstance(author, dict) else author
author_id = profile.get("id") author_id = profile.get("id")
user_id = profile.get("user", "").strip() user_id = profile.get("user", "").strip()
if user_id == "FyPGkAwnrXPiv2PxQ":
logger.warning(profile)
if author_id and user_id: if author_id and user_id:
authors_by_id[author_id] = profile authors_by_id[author_id] = profile
await cache_author(profile) await cache_author(profile)