chore(growth): add default value for results

This commit is contained in:
João Paulo Dubas 2024-06-10 18:35:12 +00:00
parent c175c3edfd
commit 28f0546bcb
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA

View File

@ -94,7 +94,8 @@ defmodule Growth do
%__MODULE__{
name: name,
gender: gender,
date_of_birth: date_of_birth
date_of_birth: date_of_birth,
results: []
},
fn {key, default_value}, measurement ->
opts