forked from Olympic/NTO-2025-Android-TeamTask
commit 12
This commit is contained in:
@@ -9,7 +9,7 @@ class CheckAndSaveAuthCodeUseCase(
|
||||
text: String
|
||||
): Result<Unit> {
|
||||
return repository.checkAndSave(text).mapCatching { success ->
|
||||
if (!success) error("Code is incorrect")
|
||||
if (!success) error("Code is Incorrect")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user