Skip to content
Snippets Groups Projects
Commit b06dea08 authored by Pedro Pablo Cardona Arroyave's avatar Pedro Pablo Cardona Arroyave
Browse files

Bug was fixed

parent 1b3934da
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,7 @@ public class FridgeService {
}
groupRepository.save(group);
return Optional.of(wasteRepository.save(Waste.builder()
.buyPrice(fridgeProductAsso1.getBuyPrice())
.amount(fridgeProductAsso1.getAmount())
.unit(fridgeProductAsso1.getEan().getUnit())
.ean(fridgeProductAsso1.getEan())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment