follows-returns
All checks were successful
Deploy on push / deploy (push) Successful in 27s

This commit is contained in:
Untone 2024-05-20 19:11:07 +03:00
parent 232892d397
commit 3742528e3a

View File

@ -79,10 +79,7 @@ async def follow(_, info, what, slug):
elif what == "SHOUT":
error = reactions_follow(follower_id, slug)
if error:
return {"error": error}
return {f"{entity}s": follows}
return {f"{entity}s": follows, "error": error}
@mutation.field("unfollow")