Skip to content

Commit

Permalink
Fix: return 메세지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sujinyang00 committed Aug 21, 2023
1 parent c0f7add commit 2c180b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/example/neoul/controller/MyController.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ public ApiResponse<BrandRes.getLikedBrandRes> getUserLikedBrand(){
@PatchMapping("/product/like/{productId}")
public ApiResponse<String> likeProduct(@PathVariable("productId") Long productId){
productService.likeProduct(productId);
return new ApiResponse("브랜드를 찜했습니다");
return new ApiResponse("상품을 찜했습니다");
}


@ApiOperation(value = "상품 찜 취소하기", notes = "상품 찜 취소하기")
@PatchMapping("/product/dislike/{productId}")
public ApiResponse<String> deleteLikedProduct(@PathVariable("productId") Long productId){
productService.deleteLikedProduct(productId);
return new ApiResponse("브랜드 찜이 취소가 되었습니다");
return new ApiResponse("상품 찜이 취소가 되었습니다");
}


Expand Down

0 comments on commit 2c180b9

Please sign in to comment.