[PM-25933] Replace sdk updatePassword call with makeUpdatePassword

This commit is contained in:
André Bispo 2025-09-18 15:43:04 +01:00
parent 7c5a6ac2d8
commit 59332ac8c7
No known key found for this signature in database
GPG Key ID: E5610EF043C76548
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -1082,7 +1082,7 @@ class VaultSdkSourceTest {
newKey = newKey, newKey = newKey,
) )
coEvery { coEvery {
clientCrypto.updatePassword( clientCrypto.makeUpdatePassword(
newPassword = newPassword, newPassword = newPassword,
) )
} returns updatePasswordResponse } returns updatePasswordResponse