Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kan 83: 가게 상세 및 리뷰 작성 페이지 기능 추가 #19

Merged
merged 5 commits into from
May 27, 2024

Conversation

m1nse0kim
Copy link
Collaborator

  • 네이버 리뷰 및 평점 반영
  • 리뷰 작성 시 가게 상세 화면에 실시간 반영
  • 가게 상세 화면 UI 가로 폭 고정

await axios.post(
`${API_URL}/v1/restaurants/${restaurantId}/like`,
{
isLike: newHeartedState,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요거 반대로 요청주셔야 될걸요!? 잘되나요?

like api에서 isLike가 true일 경우 좋아요 요청
isLike가 false일 경우 좋아요 취소 요청 일거에용.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오 감사합니당!! 어쩐지 뭔가 이상하게 반영되더라고여,,ㅎ

Copy link
Member

@sinkyoungdeok sinkyoungdeok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
좋아요 잘못된건 다른 PR에서하실건가여? 잘챙겨주세요~

@m1nse0kim m1nse0kim merged commit 5bddaaf into main May 27, 2024
1 check passed
@m1nse0kim m1nse0kim deleted the KAN-83 branch May 27, 2024 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants