forked from AkkomaGang/akkoma
fix typo.
This commit is contained in:
parent
8b11546334
commit
932d346d35
1 changed files with 1 additions and 2 deletions
|
@ -272,9 +272,8 @@ def make_user_from_ap_id(ap_id) do
|
|||
name: data["name"]
|
||||
}
|
||||
|
||||
User.insert_or_update_user(user_data)
|
||||
if user = User.get_by_ap_id(ap_id) do
|
||||
User.info_changeset(user, user_data}
|
||||
User.info_changeset(user, user_data)
|
||||
|> Repo.update
|
||||
else
|
||||
User.insert_or_update_user(user_data)
|
||||
|
|
Loading…
Reference in a new issue