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

좋아요 싫어요 개선 #88

Merged
merged 3 commits into from
Oct 22, 2023
Merged

좋아요 싫어요 개선 #88

merged 3 commits into from
Oct 22, 2023

Conversation

devk0ng
Copy link
Contributor

@devk0ng devk0ng commented Oct 22, 2023

구현 사항

  • request body 변경 (요청, 응답 모델 분리 -> 요청시에 필요한 데이터만 받도록)
  • 좋아요, 싫어요에 작성자 정보 추가
  • 이미 좋아요 했을 시 좋아요 카운트는 오르지 않음 (애초에 작성자 id가 같이 내려가기에 요청자체가 안올 것으로 기대)
  • 좋아요 요청 시 이미 싫어요 한 이력이 있다면 싫어요는 취소 처리 (반대 케이스도 동일)

@devk0ng devk0ng merged commit 317b8a1 into develop Oct 22, 2023
1 of 2 checks passed
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.

1 participant