Fix CommonAPI.follow/2 which returned users in the reverse order they were provided to the function
This commit is contained in:
parent
9d27a074c1
commit
06e8ece4cc
9 changed files with 31 additions and 31 deletions
|
|
@ -130,7 +130,7 @@ defmodule Pleroma.Web.CommonAPI do
|
|||
if activity.data["state"] == "reject" do
|
||||
{:error, :rejected}
|
||||
else
|
||||
{:ok, follower, followed, activity}
|
||||
{:ok, followed, follower, activity}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue