Skip to content

[IDLE-000] 센터 로그아웃&회원탈퇴 #46

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

Merged
merged 24 commits into from
Aug 25, 2024

Conversation

J0onYEong
Copy link
Contributor

변경된점

  • 센터는 로그아웃및 회원탈퇴를 할 수 있습니다.
  • 도메인 에러 리팩토링

도메인 에러 리팩토링

기존의 도메인 에러처리는 도메인마다(ex, auth, post...)마다 서로다른 에러타입을 사용했습니다.
하지만, 여러 도메인에서 사용되는 에러가 있어 모두 하나의 타입이 에러를 관리하도록 구현하였습니다.

DomainError를 확인해주세요

언더라인이 그어진 라벨로 구성된 버튼입니다.
오탈자 수정: WorkerSetting -> CenterSetting
DeRegisterCoordinator구현한였습니다.
상태코드가 401인 경우가 무조건 토큰 만료가 아닐 수 있음으로, JWTError를 데이터 레이어에 구현하고 해당 에러인지 검사하도록했습니다.
토큰을 재발급하고도 401이 발생한다면, 토큰 만료 이외에 다른 문제가 발생했다는 의미이다 Ex(비밀번호 오류)
@J0onYEong J0onYEong merged commit 4313f6e into develop Aug 25, 2024
1 check failed
@J0onYEong J0onYEong deleted the feature/center_setting_screen branch August 25, 2024 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant