diff options
author | Dashie <dashie@sigpipe.me> | 2018-05-02 22:45:20 +0200 |
---|---|---|
committer | Dashie <dashie@sigpipe.me> | 2018-05-02 22:45:20 +0200 |
commit | e448734952088fb15b5d2f3be6c27041a6ba7efc (patch) | |
tree | 8edabd8c6caaee8f2ae8c15e69f48ceb00d5d0af /lib | |
parent | fd0bf3aa71a67afab3cfe55d17d7dce9e2f2b305 (diff) | |
download | pleroma-e448734952088fb15b5d2f3be6c27041a6ba7efc.tar.gz |
Explicit error message
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/nodeinfo/nodeinfo_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |