mirror of
https://github.com/bitwarden/android.git
synced 2025-12-11 13:57:03 -06:00
[PM-25933] Replace sdk updatePassword call with makeUpdatePassword
This commit is contained in:
parent
7c5a6ac2d8
commit
59332ac8c7
@ -475,7 +475,7 @@ class VaultSdkSourceImpl(
|
|||||||
): Result<UpdatePasswordResponse> = runCatchingWithLogs {
|
): Result<UpdatePasswordResponse> = runCatchingWithLogs {
|
||||||
getClient(userId = userId)
|
getClient(userId = userId)
|
||||||
.crypto()
|
.crypto()
|
||||||
.updatePassword(newPassword = newPassword)
|
.makeUpdatePassword(newPassword = newPassword)
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun exportVaultDataToString(
|
override suspend fun exportVaultDataToString(
|
||||||
|
|||||||
@ -1082,7 +1082,7 @@ class VaultSdkSourceTest {
|
|||||||
newKey = newKey,
|
newKey = newKey,
|
||||||
)
|
)
|
||||||
coEvery {
|
coEvery {
|
||||||
clientCrypto.updatePassword(
|
clientCrypto.makeUpdatePassword(
|
||||||
newPassword = newPassword,
|
newPassword = newPassword,
|
||||||
)
|
)
|
||||||
} returns updatePasswordResponse
|
} returns updatePasswordResponse
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user