-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: 재학생 인증 여부 확인 api 구현 #77
Conversation
|
||
public MemberUnivStatusResponse checkUnivVerificationStatus() { | ||
Member currentMember = memberUtil.getCurrentMember(); | ||
return new MemberUnivStatusResponse(currentMember.getUnivStatus()); |
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.
정적 팩토리 메서드 사용하도록 수정해주세요
|
||
public MemberUnivStatusResponse checkUnivVerificationStatus() { | ||
Member currentMember = memberUtil.getCurrentMember(); | ||
return new MemberUnivStatusResponse(currentMember.getUnivStatus()); |
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.
return new MemberUnivStatusResponse(currentMember.getUnivStatus()); | |
return MemberUnivStatusResponse.from(currentMember); |
@@ -33,4 +34,9 @@ public MemberInfoResponse getMemberInfo() { | |||
Member currentMember = memberUtil.getCurrentMember(); | |||
return MemberInfoResponse.of(currentMember); |
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.
그리고 응답 DTO 만들 때 from, of 헷갈리는 케이스 있는 것 같은데 이거 별도 이슈로 빼서 작업해주시면 좋을듯요
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.
어푸푸
🌱 관련 이슈
📌 작업 내용 및 특이사항
📝 참고사항
📚 기타