diff --git a/libs/spring/items/src/main/java/fr/guiguilechat/jcelechat/libs/spring/items/type/TypeService.java b/libs/spring/items/src/main/java/fr/guiguilechat/jcelechat/libs/spring/items/type/TypeService.java index a03dd30d3..8b716b081 100644 --- a/libs/spring/items/src/main/java/fr/guiguilechat/jcelechat/libs/spring/items/type/TypeService.java +++ b/libs/spring/items/src/main/java/fr/guiguilechat/jcelechat/libs/spring/items/type/TypeService.java @@ -2,6 +2,7 @@ import java.io.IOException; import java.io.InputStream; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; @@ -94,6 +95,7 @@ protected void updateResponseOk(Type data, R_get_universe_types_type_id received typeAttributes.add(TypeAttribute.builder() .attribute(att) .type(data) + .value(BigDecimal.valueOf(a.value)) .build()); } typeAttributeService.saveAll(typeAttributes);