following-debug
All checks were successful
Deploy on push / deploy (push) Successful in 5m46s

This commit is contained in:
2025-08-30 18:23:15 +03:00
parent f6253f2007
commit f891b73608
4 changed files with 408 additions and 2 deletions

View File

@@ -137,6 +137,9 @@ async def follow(
if get_cached_follows_method and isinstance(follower_id, int):
logger.debug("Получение актуального списка подписок из кэша")
existing_follows = await get_cached_follows_method(follower_id)
logger.debug(
f"Получено подписок: {len(existing_follows)}, содержит target={entity_id in [f.get('id') for f in existing_follows] if existing_follows else False}"
)
# Если это авторы, получаем безопасную версию
if what == "AUTHOR":