Api (at home function fix)
This commit is contained in:
parent
b5024351c5
commit
de49bc64b7
2
api.php
2
api.php
@ -27,7 +27,7 @@ if (isset($obj['user']) && $obj['user'] != ''){
|
||||
//user at home
|
||||
$user = UserManager::getUser($obj['user']);
|
||||
$userId = $user['user_id'];
|
||||
$keyWords = ['entered', 'connected', 'connected to'];
|
||||
$keyWords = ['entered', 'connected', 'connected to', 'true'];
|
||||
UserManager::atHome($userId, $obj['atHome']);
|
||||
echo 'saved';
|
||||
die();
|
||||
|
Loading…
Reference in New Issue
Block a user