Explicit error message

stable
Dashie 6 years ago
parent fd0bf3aa71
commit e448734952
No known key found for this signature in database
GPG Key ID: C2D57B325840B755

@ -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

Loading…
Cancel
Save