Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🚀 Pull Request
📜 PR 내용 요약
필드명 불일치 문제 해결 및 불필요한 관리자 엔드포인트 제거
사용자 인증 관련 필드명이 변경되면서 발생한 게시글/댓글 작성자 확인 로직 오류를 수정하고, 더 이상 사용하지 않는 관리자용 임시 엔드포인트를 정리했습니다.
⚒️ 작업 및 변경 내용(상세하게)
🔧 필드명 수정
게시글 작성자 확인 로직 수정
post.userName→post.writer로 변경post-detail.html,edit-qna.js,edit-review.js,edit-showoff.js댓글 작성자 확인 로직 수정
comment.userName→comment.writer로 변경post-detail.html🗑️ 코드 정리
PostController.java에서updateAllPostCounts()메서드 삭제@PostMapping("/update-counts")엔드포인트 제거🐛 해결된 버그
📚 기타 참고 사항
🔍 리뷰 포인트
writer)을 사용하는지 확인🧪 테스트 방법