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

[FIX/#438] 구독 정보 조회 expiredDate Empty, Null 처리 추가 #440

Merged
merged 2 commits into from
Apr 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ class MainActivity : BindingActivity<ActivityMainBinding>(R.layout.activity_main
is Success -> {
if (state.data?.subscribe != CANCELED) return@onEach
// TODO : 도메인 모델에 변환된 날짜로 파싱되도록 보완
if (state.data?.expiredDate.toString().isNullOrBlank()) return@onEach
val expiredDateString = state.data?.expiredDate.toString()
val expiredDate = SimpleDateFormat(EXPIRED_DATE_FORMAT).parse(expiredDateString)
?: return@onEach
Expand Down
Loading