From e448734952088fb15b5d2f3be6c27041a6ba7efc Mon Sep 17 00:00:00 2001 From: Dashie Date: Wed, 2 May 2018 22:45:20 +0200 Subject: [PATCH] Explicit error message --- lib/pleroma/web/nodeinfo/nodeinfo_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 722518763..bf845a442 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -49,6 +49,6 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do def nodeinfo(conn, _) do conn |> put_status(404) - |> json(%{error: "Nodeinfo schema not handled"}) + |> json(%{error: "Nodeinfo schema version not handled"}) end end -- 2.45.2