Skip to content

Commit

Permalink
#59 [fix]: api.js 충돌 병합으로 삭제 된 코드 복구
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-g00 committed Oct 1, 2024
1 parent 76dddc8 commit 1b6d1f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export const fetchPostReactions = async (postId) => {
} catch (error) {
console.error('Error fetching post reactions:', error);
throw error; // 에러를 호출한 곳에서 처리할 수 있도록 throw
}
};

// 포스트 작성 API 호출
export const createPost = async (formData, token) => {
Expand Down

0 comments on commit 1b6d1f8

Please sign in to comment.