[fix] 댓글 수정/삭제 500 오류 해결 #222 #224
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📢 기능 설명
댓글 수정/삭제 시 500 오류가 발생하던 문제를 해결했습니다.
연결된 issue
close #222
🩷 Approve 하기 전 확인해주세요!
comment.getUser().equals(user))를 비교하던 방식에서 ID 값(comment.getUser().getId().equals(user.getId()))을 비교하는 방식으로 변경했습니다.Authorization: Bearer <token>헤더에서 토큰을 먼저 확인하도록 변경했습니다.accessToken을 가져와 하위 호환성을 유지합니다.✅ 체크리스트