From 28f0546bcb50db0b717274545827d0ecf7855261 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Mon, 10 Jun 2024 18:35:12 +0000 Subject: [PATCH] chore(growth): add default value for results --- lib/growth/growth.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/growth/growth.ex b/lib/growth/growth.ex index 641e049..73b627c 100644 --- a/lib/growth/growth.ex +++ b/lib/growth/growth.ex @@ -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