Skip to content

Commit

Permalink
Merge pull request #78 from code-review-platform-flow/FLOW-200
Browse files Browse the repository at this point in the history
fix: Post 수정 HTTP Method를 Post로 수정
  • Loading branch information
steamedEggMaster authored Dec 16, 2024
2 parents 8916c83 + 3547ad7 commit 3366fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/flow/main/controller/PostController.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public ResponseEntity<PostWriteResponseDto> write(@RequestBody final PostWriteRe
return ResponseEntity.ok(postsWriteService.write(postWriteRequestDto));
}

@PatchMapping("/{postId}")
@PostMapping("/{postId}")
public ResponseEntity<PostModifyResponseDto> modify(@PathVariable("postId") Long postId, @RequestBody final PostModifyRequestDto postModifyRequestDto){
log.info("postId : {}", postId);
log.info("email : {}", postModifyRequestDto.getEmail());
Expand Down

0 comments on commit 3366fc3

Please sign in to comment.