-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Fix] 프로필 사진 빈 값 예외처리 삭제 #542
Conversation
Test Results 30 files 30 suites 8s ⏱️ Results for commit a89a0db. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approve 드립니닷!!
고생 하셨습니다 알파카씌!!
그리고 PR 제목 바꿔주세욥 ㅋㅋㅋㅋ
private boolean isUpdatable(String requestProfileImageUrl, Member member) { | ||
return !requestProfileImageUrl.isEmpty() && !Objects.equals(requestProfileImageUrl, | ||
member.getProfileImageUrl()); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
해당 부분은 프론트 분들과 함께 이야기 나눈 것으로 기억하는데,
지금 생각해보면 기존에 가지고 있는 url을 넘기는 것이 더 좋지 않을까라는 생각이 드네요!
빈 문자열로 들어올땐 프사를 바꾸지 않는다는 것이 약간은 숨겨진 로직일 수 있을 것 같아서요!
다음에 프론트분들과도 이야기 같이 해 보시죠!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
빈 문자열로 들어오면 빈 문자열로 바꾸고 기본 이미지는 프론트에서 처리하기로 했습니답
그래서 실제로 빈 문자열로 저장하고 s3 작업만 안 하도록 했는데 이것도 그럴까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아하 제가 로직을 좀 착각했네요 ㅎㅎ
이대로 가면 될 것 같슴다!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✅ 작업 내용