Conversation
* refactor: 게시글 작성자 ROLE에 따른 이미지 처리 로직 리팩토링 * refactor: 응답 데이터에 userBookmarkYn(사용자 게시글 좋아요 여부) 필드 추가 * test: 게시글 상세 조회 API 테스트 리팩토링
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🌱 관련 이슈
📌 작업 내용 및 특이사항
SYSTEM유저일 경우, 해당 유저의 프로필 이미지가 없어 예외가 발생하는 문제를 해결했습니다.UserRole를 확인해SYSTEM유저일 경우 default UserImage를 생성하도록 리팩토링했습니다.SYSTEM유저 전용UserImagerow를 추가했습니다.로컬 환경에서도 동일하게 적용하면 좋을 것 같아요. 노션에 작성해놓겠습니다.
userBookmarkYn필드를 추가했습니다.이 필드는 작성자가 아닌 요청한 사용자의 해당 유저픽 게시글 북마크 여부 필드입니다.
🔍 참고사항
📚 기타