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