Show count of users followed from API (#5229) [deploy]
This commit is contained in:
parent
e98d3cb7be
commit
36efb1b7bb
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ module Api
|
|||
user_ids.each do |user_id|
|
||||
Users::FollowJob.perform_later(current_user.id, user_id, "User")
|
||||
end
|
||||
render json: { outcome: "followed 50 users" }
|
||||
render json: { outcome: "followed #{user_ids.count} users" }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue