14 lines
No EOL
233 B
Markdown
14 lines
No EOL
233 B
Markdown
let sdk = new Appwrite();
|
|
|
|
sdk
|
|
setProject('')
|
|
setKey('')
|
|
;
|
|
|
|
let promise = sdk.auth.logoutBySession('[USER_ID]');
|
|
|
|
promise.then(function (response) {
|
|
console.log(response);
|
|
}, function (error) {
|
|
console.log(error);
|
|
}); |