From: lain Date: Sun, 18 Feb 2018 22:13:19 +0000 (+0100) Subject: fix typo. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=932d346d35e0b16537ee2527ca2253f00c214c12;p=akkoma fix typo. --- 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)