diff --git a/lib/keila/contacts/ecto_string_map.ex b/lib/keila/contacts/ecto_string_map.ex index 6cec9a1b..adfb65ce 100644 --- a/lib/keila/contacts/ecto_string_map.ex +++ b/lib/keila/contacts/ecto_string_map.ex @@ -210,7 +210,7 @@ defmodule Keila.Contacts.EctoStringMap.FieldDefinition do defp type_validations(_), do: [] - defp required_validations(%{type: :bool, required: true}), + defp required_validations(%{type: :boolean, required: true}), do: [&validate_acceptance(&1, &2, [])] defp required_validations(%{required: true}),