Skip to content

Commit

Permalink
[fix] #34 게시글 생성 response header 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuKwanKon committed Jan 11, 2024
1 parent b025c82 commit b426f79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public ResponseEntity<SuccessResponse<?>> getMyPosts(@UserId final Long userId,
public ResponseEntity<SuccessResponse<?>> createPost(@UserId final Long userId,
@RequestBody @Valid final PostCreateRequestDto requestDto) {
postService.createPost(userId, requestDto);
return SuccessResponse.ok(null);
return SuccessResponse.created(null);
}
}

0 comments on commit b426f79

Please sign in to comment.