Fix Dialyzer warnings

This commit is contained in:
Egor Kislitsyn 2020-02-25 18:34:56 +04:00
commit 22018adae6
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
16 changed files with 35 additions and 41 deletions

View file

@ -323,7 +323,7 @@ keeping it in cache for #{div(cache_ms, 1000)}s")
{:ok, _} ->
conn |> json("ok")
{:error, _} ->
{:error, _, _} ->
conn
|> put_status(:internal_server_error)
|> json(%{error: "Couldn't delete the pack #{name}"})