1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-19 03:19:17 +00:00

Explicit error message

This commit is contained in:
Dashie 2018-05-02 22:45:20 +02:00
parent fd0bf3aa71
commit e448734952
No known key found for this signature in database
GPG key ID: C2D57B325840B755

View file

@ -49,6 +49,6 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
def nodeinfo(conn, _) do
conn
|> put_status(404)
|> json(%{error: "Nodeinfo schema not handled"})
|> json(%{error: "Nodeinfo schema version not handled"})
end
end