239 B
239 B
let sdk = new Appwrite();
sdk .setProject('') ;
let promise = sdk.account.updateAccountPassword('password', 'password');
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });