feat : 프로필 사진 목록 관리 API 구현#37
Open
mongdmin wants to merge 1 commit into
Open
Conversation
Open
2 tasks
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.
변경점 👍
프로필 사진 목록 조회
[
{
"id": 1,
"imageUrl": "https://bucket.s3.ap-northeast-2.amazonaws.com/user/profile/1/example.png",
"originalFilename": "example.png",
"isPublic": true,
"isRepresentative": true,
"createdAt": "2026-06-21T15:30:00"
}
]
대표사진 변경
{
"id": 2,
"imageUrl": "https://bucket.s3.ap-northeast-2.amazonaws.com/user/profile/1/another.png",
"originalFilename": "another.png",
"isPublic": false,
"isRepresentative": true,
"createdAt": "2026-06-21T15:40:00"
}
#테스트
-프로필 사진 업로드 시 S3 업로드 결과 URL로 UserPhoto가 저장되는지 확인
-대표사진으로 업로드하는 경우 기존 대표사진 해제 및 User.picture 갱신 확인
-사진 목록 조회 시 사용자의 사진 목록이 응답 DTO로 변환되는지 확인
-대표사진 변경 시 선택한 사진만 대표사진으로 설정되고 User.picture가 변경되는지 확인