fix typo.
This commit is contained in:
parent
8b11546334
commit
932d346d35
@ -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 New Issue
Block a user