Api fix http code on home enter

This commit is contained in:
JonatanRek 2019-09-01 17:25:17 +02:00
parent de49bc64b7
commit c1fc666815

View File

@ -29,7 +29,8 @@ if (isset($obj['user']) && $obj['user'] != ''){
$userId = $user['user_id']; $userId = $user['user_id'];
$keyWords = ['entered', 'connected', 'connected to', 'true']; $keyWords = ['entered', 'connected', 'connected to', 'true'];
UserManager::atHome($userId, $obj['atHome']); UserManager::atHome($userId, $obj['atHome']);
echo 'saved'; echo 'Saved';
header("HTTP/1.1 200 OK");
die(); die();
} }