Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
e4b202d905
commit
25eb222bed
|
@ -180,7 +180,7 @@ def delete(conn, %{name: name}) do
|
||||||
|> json(%{error: "pack name cannot be empty"})
|
|> json(%{error: "pack name cannot be empty"})
|
||||||
|
|
||||||
{:error, error, _} ->
|
{:error, error, _} ->
|
||||||
error_message = add_posix_error("Couldn't delete the pack #{name}", error)
|
error_message = add_posix_error("Couldn't delete the #{name} pack", error)
|
||||||
|
|
||||||
conn
|
conn
|
||||||
|> put_status(:internal_server_error)
|
|> put_status(:internal_server_error)
|
||||||
|
|
Loading…
Reference in a new issue