fix: ResignAPI 호출 시 UserDefaults MemberId nil 값 뜨는 이슈 수정해요 #700
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔵PR을 올리기 전 아래 사항을 확인해주세요.
(위 내용은 지워주세요)
😽개요
MyUserDefault
내부 메서드인loadFamilyId
,loadFamilyName
Type Annotation String으로 수정해요🛠️작업 내용
memberId
값이 nil 값으로 반환 되고 있었던걸 familyId 원본 값으로 반환하도록 수정하였습니다.ManagementViewController
에서toSetting
메서드에memberid
값이 없어서 설정 아이콘을 눌러도PrivacyViewController
로 이동하지 않았는데UserDefaults
를 수정하면서 이동하도록 수정되었습니다.✅테스트 케이스
ManagementViewController
에서 설정 아이콘 클릭 시PrivacyViewController
로 이동하는지 확인해요memberId
값이 있는지 확인해요🙏🏻아래와 같이 PR을 리뷰해주세요.