This commit is contained in:
parent
232892d397
commit
3742528e3a
|
@ -79,10 +79,7 @@ async def follow(_, info, what, slug):
|
||||||
elif what == "SHOUT":
|
elif what == "SHOUT":
|
||||||
error = reactions_follow(follower_id, slug)
|
error = reactions_follow(follower_id, slug)
|
||||||
|
|
||||||
if error:
|
return {f"{entity}s": follows, "error": error}
|
||||||
return {"error": error}
|
|
||||||
|
|
||||||
return {f"{entity}s": follows}
|
|
||||||
|
|
||||||
|
|
||||||
@mutation.field("unfollow")
|
@mutation.field("unfollow")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user