mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 00:06:22 -06:00
PM-25908: Do not use network error message from 401 (#5984)
This commit is contained in:
parent
9fee973563
commit
97c4cd705b
@ -764,7 +764,7 @@ class AuthRepositoryImpl(
|
||||
resendNewDeviceOtpRequestJson
|
||||
?.let { jsonRequest ->
|
||||
accountsService.resendNewDeviceOtp(body = jsonRequest).fold(
|
||||
onFailure = { ResendEmailResult.Error(message = it.message, error = it) },
|
||||
onFailure = { ResendEmailResult.Error(message = null, error = it) },
|
||||
onSuccess = {
|
||||
when (it) {
|
||||
VerificationOtpResponseJson.Success -> ResendEmailResult.Success
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user