Api fix http code on home enter
This commit is contained in:
parent
de49bc64b7
commit
c1fc666815
3
api.php
3
api.php
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user