225 B
225 B
let sdk = new Appwrite();
let promise = sdk.account.createRecovery('email@example.com', 'https://example.com');
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });