Skip to content

Commit

Permalink
refactor: update 응답값 200 -> 204 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Aug 10, 2023
1 parent 2c77205 commit f3b0680
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public ResponseEntity<Void> updateRecommendedPost(@PathVariable("keywordId") Lon
@PathVariable("recommendedId") Long recommendedId,
@RequestBody RecommendedUpdateRequest request) {
recommendedService.update(recommendedId, request);
return ResponseEntity.ok().build();
return ResponseEntity.noContent().build();
}

@DeleteMapping("/{recommendedId}")
Expand Down

0 comments on commit f3b0680

Please sign in to comment.