diff --git a/apps/services/lib/repo.ex b/apps/services/lib/repo.ex index 18c79abd78..84e1d04bcb 100644 --- a/apps/services/lib/repo.ex +++ b/apps/services/lib/repo.ex @@ -38,4 +38,8 @@ defmodule Services.Repo do defp handle_response(%JsonApi{data: data}) do Enum.map(data, &Service.new/1) end + + defp handle_response({:error, [%JsonApi.Error{code: "not_found"}]}) do + [] + end end