This commit is contained in:
William 2022-03-30 12:11:39 +00:00
parent aebd249237
commit d99f7709b4
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{ {

View File

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