-
Notifications
You must be signed in to change notification settings - Fork 0
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 #94
[FEAT] 로그아웃 api #94
Conversation
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.
수고하셨어요!
@Override | ||
@Transactional | ||
public void signOut(Long memberId) { | ||
Member member = findMember(memberId); |
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.
val 타입 부탁드려요 :)
@Transactional | ||
public void signOut(Long memberId) { | ||
Member member = findMember(memberId); | ||
member.updateRefreshToken(null); |
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.
null을 인자로 넘기는 것도 좋지만, initRefreshToken 메소드를 별도로 만들고 내부에서 null로 처리해도 좋을 것 같아요!
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.
고생하셨습니다~~
✨ Related Issue
📝 기능 구현 명세
🐥 추가적인 언급 사항
딱히 없습니다.