More Jason changes.

This commit is contained in:
lain 2018-03-27 16:45:38 +02:00
commit d2099c849d
8 changed files with 36 additions and 36 deletions

View file

@ -58,7 +58,7 @@ defmodule Pleroma.Plugs.AuthenticationPlug do
defp halt_or_continue(conn, _) do
conn
|> put_resp_content_type("application/json")
|> send_resp(403, Poison.encode!(%{error: "Invalid credentials."}))
|> send_resp(403, Jason.encode!(%{error: "Invalid credentials."}))
|> halt
end
end