This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/public/api/race/baton.php

12 lines
260 B
PHP
Raw Normal View History

2022-05-09 07:11:55 +00:00
<?php $app = require '../../../app/inc.php';
2022-05-08 20:00:11 +00:00
$baton_reader = $app->model('BatonReader');
$cardnumber = (string)filter_input(INPUT_GET, 'cardnumber');
$app->api(
$baton_reader->receive(
$cardnumber,
$app->config['baton_cooldown']
)
);