Skip to content
Snippets Groups Projects
Commit 5c09d8d3 authored by eal's avatar eal
Browse files

Unlink follow import process from the one processing request.

Mistakes were made.
parent ad180ad6
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
follow_import(conn, %{"list" => File.read!(listfile.path)})
end
def follow_import(%{assigns: %{user: user}} = conn, %{"list" => list}) do
Task.start_link(fn ->
Task.start(fn ->
String.split(list)
|> Enum.map(fn nick ->
with %User{} = follower <- User.get_cached_by_ap_id(user.ap_id),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment