19 lines
No EOL
331 B
Markdown
19 lines
No EOL
331 B
Markdown
const sdk = require('node-appwrite');
|
|
|
|
// Init SDK
|
|
let client = new Auth.Client();
|
|
|
|
let auth = new sdk.Auth(client);
|
|
|
|
client
|
|
setProject('')
|
|
setKey('')
|
|
;
|
|
|
|
let promise = auth.confirmResend('https://example.com');
|
|
|
|
promise.then(function (response) {
|
|
console.log(response);
|
|
}, function (error) {
|
|
console.log(error);
|
|
}); |