fix: Missing template error in OutboxController
This commit is contained in:
parent
7824edbec0
commit
54fdaec2c9
1 changed files with 2 additions and 2 deletions
|
|
@ -13,9 +13,9 @@ defmodule PostlandWeb.OutboxController do
|
|||
}
|
||||
|
||||
if Headers.verify(conn.method, conn.request_path, conn.req_headers) do
|
||||
render(conn, json)
|
||||
Plug.Conn.send_resp(conn, 200, Jason.encode!(json))
|
||||
else
|
||||
render(conn, :forbidden)
|
||||
Plug.Conn.send_resp(conn, 403, "forbidden")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue