Skip to content

Commit aac2954

Browse files
committed
refactor: 댓글 작성 API 메서드를 PUT에서 PATCH로 변경
1 parent 30083d0 commit aac2954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/admin/ApplicationDetail/api/comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const updateComment = async (
4343
): Promise<Comment> => {
4444
const url = `/api/applications/${applicationId}/comments/${commentId}`;
4545
const response = await fetch(url, {
46-
method: 'PUT',
46+
method: 'PATCH',
4747
headers: {
4848
'Content-Type': 'application/json',
4949
},

0 commit comments

Comments
 (0)