mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
fix typo.
This commit is contained in:
parent
8b11546334
commit
932d346d35
1 changed files with 1 additions and 2 deletions
|
@ -272,9 +272,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub 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