Skip to content

Commit

Permalink
feat : postReview
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyyChoi committed Sep 1, 2023
1 parent 17bb5f4 commit 7d35d3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/api/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@ const postRegister = (userId, eMail) =>
email: eMail,
});

const postReview = (userId, placeId, content, star) =>
UpdateAxios.post(`review/user/${userId}/place/${placeId}`, {content, star});

export {
getAllPlaceCheck,
getSinglePlaceCheck,
postShop,
getLoginCheck,
postRegister,
getReviewCheck,
postReview,
};

0 comments on commit 7d35d3e

Please sign in to comment.