diff --git a/app/models/logic/champ_value.rb b/app/models/logic/champ_value.rb index 688d2c113..f4f655a5e 100644 --- a/app/models/logic/champ_value.rb +++ b/app/models/logic/champ_value.rb @@ -50,7 +50,8 @@ class Logic::ChampValue < Logic::Term "Champs::CheckboxChamp" targeted_champ.true? when "Champs::IntegerNumberChamp", "Champs::DecimalNumberChamp" - targeted_champ.for_api + # TODO expose raw typed value of champs + targeted_champ.type_de_champ.champ_value_for_api(targeted_champ, version: 1) when "Champs::DropDownListChamp" targeted_champ.selected when "Champs::MultipleDropDownListChamp"