Skip to content

Commit

Permalink
Feat : #33- 재료 개수 변경 후 변수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyobim committed Jan 6, 2023
1 parent 06526ae commit b114888
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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("")
Expand Down

0 comments on commit b114888

Please sign in to comment.