[WIP] Implement growth assessment using WHO indicators #80

Draft
joao.dubas wants to merge 76 commits from jpd-feat-add-bmi-module-with-live-view into main
Showing only changes of commit 2fedb4ecf0 - Show all commits

View File

@ -228,10 +228,12 @@ defmodule Growth.Indicators.Download do
end
def fetch!(url) do
with {:ok, %{status: 200, body: body}} <- Req.get(url) do
body
else
_ -> raise("fetch failed for url #{url}")
case Req.get(url) do
{:ok, %{status: 200, body: body}} ->
body
_ ->
raise("fetch failed for url #{url}")
end
end