Skip to content

Commit

Permalink
Feat. 댓글 수정 API를 POST -> PUT으로 바꿈
Browse files Browse the repository at this point in the history
  • Loading branch information
HyerimKimm committed Feb 17, 2025
1 parent 60070a4 commit 8932d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/comment_apis/useUpdateComment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const useUpdateComment = () => {
setTimeout(() => resolve(updateCommentMockData), 100),
);
} else {
return httpClient.post(
return httpClient.put(
`/api/v1/article/${articleId}/comment/${commentId}`,
{
content: content,
Expand Down

0 comments on commit 8932d35

Please sign in to comment.