This commit is contained in:
@@ -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":
|
||||
|
Reference in New Issue
Block a user