Skip to content
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

Merged
merged 4 commits into from
Jan 12, 2024
Merged

[FEAT] 로그아웃 api #94

merged 4 commits into from
Jan 12, 2024

Conversation

Chan531
Copy link
Contributor

@Chan531 Chan531 commented Jan 12, 2024

✨ Related Issue

📝 기능 구현 명세

image

  • 로그아웃 api

image

  • 로그아웃 api test

🐥 추가적인 언급 사항

딱히 없습니다.

@Chan531 Chan531 added chan 찬 작업 feat 기능 개발 test 테스트 labels Jan 12, 2024
@Chan531 Chan531 self-assigned this Jan 12, 2024
Copy link
Member

@thguss thguss left a 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);
Copy link
Member

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);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

null을 인자로 넘기는 것도 좋지만, initRefreshToken 메소드를 별도로 만들고 내부에서 null로 처리해도 좋을 것 같아요!

Copy link
Contributor

@csb9427 csb9427 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다~~

@Chan531 Chan531 merged commit 017a471 into develop Jan 12, 2024
@Chan531 Chan531 deleted the feature/#91-logout-api branch January 12, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chan 찬 작업 feat 기능 개발 test 테스트
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 로그아웃 api
3 participants