Skip to content
Snippets Groups Projects
Commit 59b2ac70 authored by Taras's avatar Taras
Browse files

Fix email validation type key

parent 66b97a1a
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ class ValidateEmailDataSource @Inject constructor() { ...@@ -28,7 +28,7 @@ class ValidateEmailDataSource @Inject constructor() {
suspend fun validateEmail(code: String): Response<RegistrationResult> = suspend fun validateEmail(code: String): Response<RegistrationResult> =
uiaDataSource.performUIAStage( uiaDataSource.performUIAStage(
mapOf( mapOf(
TYPE_PARAM_KEY to if (isLogin()) LOGIN_EMAIL_REQUEST_TOKEN_TYPE else ENROLL_EMAIL_SUBMIT_TOKEN_TYPE, TYPE_PARAM_KEY to if (isLogin()) LOGIN_EMAIL_SUBMIT_TOKEN_TYPE else ENROLL_EMAIL_SUBMIT_TOKEN_TYPE,
TOKEN_PARAM_KEY to code TOKEN_PARAM_KEY to code
) )
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment