mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 00:06:22 -06:00
[PM-25933] Replace SDK call updatePassword (#5916)
This commit is contained in:
parent
8a2bcfade8
commit
d74040e7b9
@ -474,7 +474,7 @@ class VaultSdkSourceImpl(
|
||||
): Result<UpdatePasswordResponse> = runCatchingWithLogs {
|
||||
getClient(userId = userId)
|
||||
.crypto()
|
||||
.updatePassword(newPassword = newPassword)
|
||||
.makeUpdatePassword(newPassword = newPassword)
|
||||
}
|
||||
|
||||
override suspend fun exportVaultDataToString(
|
||||
|
||||
@ -1079,7 +1079,7 @@ class VaultSdkSourceTest {
|
||||
newKey = newKey,
|
||||
)
|
||||
coEvery {
|
||||
clientCrypto.updatePassword(
|
||||
clientCrypto.makeUpdatePassword(
|
||||
newPassword = newPassword,
|
||||
)
|
||||
} returns updatePasswordResponse
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user