When adding recipe items to shopping list the recipe unit is converted to unit...
Compare changes
@@ -322,7 +322,7 @@ public class ShoppingListService {
@@ -322,7 +322,7 @@ public class ShoppingListService {
ShoppingList shoppingList = shoppingListRepository.findById(loggedInAccount.getShoppingList().getId()).get();
@@ -332,7 +332,7 @@ public class ShoppingListService {
@@ -332,7 +332,7 @@ public class ShoppingListService {
Ingredient shoppingListIngredient = new Ingredient(ingredient.getItem(), new SerializedAmount(Math.ceil(quantityToAddOfWare), ingredient.getItem().getAmount().getUnit()));