unfollow-fix
All checks were successful
Deploy on push / deploy (push) Successful in 6s

This commit is contained in:
Untone 2024-11-02 12:12:19 +03:00
parent 11611fd577
commit a61bb6da20

View File

@ -169,7 +169,7 @@ async def unfollow(_, info, what, slug):
if get_cached_follows_method:
logger.debug("Получение подписок из кэша")
existing_follows = await get_cached_follows_method(follower_id)
follows = filter(lambda x: x.id != entity_id, existing_follows)
follows = filter(lambda x: x['id'] != entity_id, existing_follows)
logger.debug("Обновлен список подписок")
if what == "AUTHOR":