Skip to content

Commit

Permalink
forgot to set attribute value
Browse files Browse the repository at this point in the history
  • Loading branch information
guiguilechat committed Aug 5, 2024
1 parent 815925a commit b6d1d35
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b6d1d35

Please sign in to comment.