diff --git a/godchigam/src/main/java/com/godchigam/godchigam/domain/refrigerator/controller/RefrigeratorController.java b/godchigam/src/main/java/com/godchigam/godchigam/domain/refrigerator/controller/RefrigeratorController.java index 068e118..4df6880 100644 --- a/godchigam/src/main/java/com/godchigam/godchigam/domain/refrigerator/controller/RefrigeratorController.java +++ b/godchigam/src/main/java/com/godchigam/godchigam/domain/refrigerator/controller/RefrigeratorController.java @@ -33,8 +33,8 @@ public CommonResponse addNewIngredient(@RequestHeader("token") String accessToke @PutMapping("") public CommonResponse addIngredientAmount(@RequestBody ChangeAmountRequest changeAmount, @RequestParam Long foodId) { - int result = refrigeratorService.addIngredientAmount(changeAmount.getChangeAmount(), foodId); - return CommonResponse.success(result, "재료 개수 변경 성공"); + int addIngredientAmountResult = refrigeratorService.addIngredientAmount(changeAmount.getChangeAmount(), foodId); + return CommonResponse.success(addIngredientAmountResult, "재료 개수 변경 성공"); } @DeleteMapping("")