Commit 8c2aad1c authored by lain's avatar lain
Browse files

Make new users follow themselves.

parent 03ddaead
......@@ -14,7 +14,7 @@ def run([name, nickname, email, bio, password]) do
bio: bio
}
user = %{ user | ap_id: User.ap_id(user) }
user = %{ user | ap_id: User.ap_id(user), following: User.ap_followers(user) }
Repo.insert!(user)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment