mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
Make new users follow themselves.
This commit is contained in:
parent
03ddaead7e
commit
8c2aad1cab
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ defmodule Mix.Tasks.RegisterUser 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
|
||||
|
|
Loading…
Reference in a new issue