forked from AkkomaGang/akkoma
user: set up a valid followers address to use
This commit is contained in:
parent
56dc8db582
commit
ae3cb652b6
1 changed files with 1 additions and 0 deletions
|
@ -647,6 +647,7 @@ def get_or_create_instance_user do
|
||||||
|> put_change(:ap_id, Pleroma.Web.Endpoint.url())
|
|> put_change(:ap_id, Pleroma.Web.Endpoint.url())
|
||||||
|> put_change(:nickname, nil)
|
|> put_change(:nickname, nil)
|
||||||
|> put_change(:local, true)
|
|> put_change(:local, true)
|
||||||
|
|> put_change(:follower_address, Pleroma.Web.Endpoint.url() <> "/relay/followers")
|
||||||
|
|
||||||
{:ok, user} = Repo.insert(changes)
|
{:ok, user} = Repo.insert(changes)
|
||||||
user
|
user
|
||||||
|
|
Loading…
Reference in a new issue