Make new users follow themselves.
This commit is contained in:
parent
03ddaead7e
commit
8c2aad1cab
|
@ -14,7 +14,7 @@ def run([name, nickname, email, bio, password]) do
|
||||||
bio: bio
|
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)
|
Repo.insert!(user)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue