This commit is contained in:
parent
11611fd577
commit
a61bb6da20
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue
Block a user