219 B
219 B
let sdk = new Appwrite();
sdk setProject('') ;
let promise = sdk.users.getUserSessions('[USER_ID]');
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });