Fix bad request call

This commit is contained in:
Uku Taht 2021-04-15 15:35:15 +03:00
parent 264b233ca6
commit 80c62cfdb2

View File

@ -56,7 +56,7 @@ defmodule PlausibleWeb.Api.ExternalSitesController do
H.bad_request(conn, "Parameter `name` is required to create a shared link")
e ->
H.bad_request(400, "Something went wrong: #{inspect(e)}")
H.bad_request(conn, "Something went wrong: #{inspect(e)}")
end
end