230 B
230 B
let sdk = new Appwrite();
let promise = sdk.account.updateRecovery('[USER_ID]', '[SECRET]', 'password', 'password');
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });