From dc1d3ceb724bb3a23e407ed2affa43e1a81d844d Mon Sep 17 00:00:00 2001 From: lain Date: Sun, 18 Feb 2018 22:41:38 +0100 Subject: [PATCH] Fix log. --- lib/pleroma/web/activity_pub/activity_pub_controller.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index 7c4f7d249..8ba15d73e 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -43,9 +43,10 @@ def inbox(%{assigns: %{valid_signature: true}} = conn, params) do def inbox(conn, params) do Logger.info("Signature error.") - Logger.info(conn.req_headers) + Logger.info(inspect(conn.req_headers)) json(conn, "ok") end + def ap_enabled_actor(id) do user = User.get_by_ap_id(id) if User.ap_enabled?(user) do