diff options
author | lain <lain@soykaf.club> | 2018-02-18 23:13:19 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-18 23:13:19 +0100 |
commit | 932d346d35e0b16537ee2527ca2253f00c214c12 (patch) | |
tree | 38a6f1c58fa50f70de0c3389f4c968e1dbc2de10 | |
parent | 8b1154633430d2f2c0cb7375bec66cf7f0f35583 (diff) | |
download | pleroma-932d346d35e0b16537ee2527ca2253f00c214c12.tar.gz |
fix typo.
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 4e46e80ea..18c2c1900 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -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) |