Skip to content

Commit

Permalink
Merge pull request #692 from woowacourse-teams/feat/668-be-like
Browse files Browse the repository at this point in the history
좋아요 기능의 응답 코드를 통일
  • Loading branch information
HoeSeong123 authored Sep 26, 2024
2 parents 99e4783 + 4a9a63f commit e955aa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ public ResponseEntity<Void> like(@AuthenticationPrinciple MemberDto memberDto, @
@DeleteMapping("like/{templateId}")
public ResponseEntity<Void> cancelLike(@AuthenticationPrinciple MemberDto memberDto, @PathVariable long templateId) {
likesService.cancelLike(memberDto, templateId);
return ResponseEntity.noContent().build();
return ResponseEntity.ok().build();
}
}

0 comments on commit e955aa9

Please sign in to comment.