following-cache-anyway-found
All checks were successful
Deploy on push / deploy (push) Successful in 27s
All checks were successful
Deploy on push / deploy (push) Successful in 27s
This commit is contained in:
@@ -61,7 +61,7 @@ async def follow(_, info, what, slug):
|
||||
if isinstance(author_dict, dict):
|
||||
author_id = author_dict.get("id")
|
||||
if author_id:
|
||||
follows_ids = [a.get('id') for a in follows]
|
||||
follows_ids = [a.get("id") for a in follows]
|
||||
if author_id not in follows_ids:
|
||||
await cache_author(follower_dict)
|
||||
await notify_follower(follower_dict, author_id, "follow")
|
||||
|
Reference in New Issue
Block a user