From 932d346d35e0b16537ee2527ca2253f00c214c12 Mon Sep 17 00:00:00 2001 From: lain Date: Sun, 18 Feb 2018 23:13:19 +0100 Subject: [PATCH] fix typo. --- lib/pleroma/web/activity_pub/activity_pub.ex | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.45.2