Commit
This commit is contained in:
parent
aebd249237
commit
d99f7709b4
@ -11,7 +11,7 @@
|
|||||||
hash = 0;
|
hash = 0;
|
||||||
async function doTheThang()
|
async function doTheThang()
|
||||||
{
|
{
|
||||||
response = await fetch("sync.php?hash=" + hash);
|
response = await fetch("sync.php?h=" + hash);
|
||||||
|
|
||||||
if (response.status === 204)
|
if (response.status === 204)
|
||||||
{
|
{
|
||||||
|
@ -10,7 +10,7 @@ use App\Timetable\TimeMapper;
|
|||||||
$teamMapper = new TimeMapper($app->database->conn);
|
$teamMapper = new TimeMapper($app->database->conn);
|
||||||
$timeMapper = new TimeMapper($app->database->conn);
|
$timeMapper = new TimeMapper($app->database->conn);
|
||||||
|
|
||||||
$prev_hash = (int)filter_input(INPUT_GET, 'hash');
|
$prev_hash = (int)filter_input(INPUT_GET, 'h');
|
||||||
|
|
||||||
$times = $timeMapper->getAll();
|
$times = $timeMapper->getAll();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user