Api (at home function fix)

This commit is contained in:
JonatanRek 2019-09-01 17:23:41 +02:00
parent b5024351c5
commit de49bc64b7

View File

@ -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();