Skip to content

Commit

Permalink
✏️ fix: totalFat -> totalKcal (#9)
Browse files Browse the repository at this point in the history
found on unit test
  • Loading branch information
synoti21 committed Oct 4, 2023
1 parent db38b03 commit 81c437a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ public class ResponseNutritionSumByDateDto {
double ratioFat;

public static ResponseNutritionSumByDateDto of (int totalKcal, int totalCarbohydrate, int totalProtein, int totalFat, double ratioKcal, double ratioCarbohydrate, double ratioProtein, double ratioFat){
return new ResponseNutritionSumByDateDto(totalFat, totalCarbohydrate, totalProtein, totalFat, ratioKcal, ratioCarbohydrate, ratioProtein, ratioFat);
return new ResponseNutritionSumByDateDto(totalKcal, totalCarbohydrate, totalProtein, totalFat, ratioKcal, ratioCarbohydrate, ratioProtein, ratioFat);
}
}

0 comments on commit 81c437a

Please sign in to comment.