Fix order of args for follow/2
This commit is contained in:
parent
082319ff48
commit
f79a16c062
34 changed files with 119 additions and 119 deletions
|
|
@ -46,7 +46,7 @@ defmodule Pleroma.User.Import do
|
|||
fn identifier ->
|
||||
with {:ok, %User{} = followed} <- User.get_or_fetch(identifier),
|
||||
{:ok, follower, followed} <- User.maybe_direct_follow(follower, followed),
|
||||
{:ok, _, _, _} <- CommonAPI.follow(follower, followed) do
|
||||
{:ok, _, _, _} <- CommonAPI.follow(followed, follower) do
|
||||
followed
|
||||
else
|
||||
error -> handle_error(:follow_import, identifier, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue