client: use 'new' passphrase param
This commit is contained in:
parent
9d48c1385b
commit
9b777ac7e5
@ -673,7 +673,7 @@ HTTPClient.prototype.retoken = async function retoken(id, passphrase) {
|
||||
*/
|
||||
|
||||
HTTPClient.prototype.setPassphrase = function setPassphrase(id, old, new_) {
|
||||
const body = { old: old, passphrase: new_ };
|
||||
const body = { old: old, new: new_ };
|
||||
return this._post(`/wallet/${id}/passphrase`, body);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user