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: Handle unverified account error #2287

Merged
merged 2 commits into from
Aug 18, 2019

Conversation

liveHarshit
Copy link
Member

Fixes #2286

@auto-label auto-label bot added the fix label Aug 18, 2019
@@ -165,6 +168,11 @@ class AttendeeViewModel(
mutablePendingOrder.value = it
orderIdentifier = it.identifier.toString()
}, {
if (it is HttpException) {
if (ErrorUtils.getErrorDetails(it).detail?.contains(UNVERIFIED_USER, true) == true) {
Copy link
Member

Choose a reason for hiding this comment

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

containsIgnoreCase?

Copy link
Member Author

Choose a reason for hiding this comment

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

containsIgnoreCase?

Ignore case is set to true. contains(UNVERIFIED_USER, true)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle error for unverified email
3 participants