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
2022-05-09 07:11:55 +00:00

12 lines
260 B
PHP

<?php $app = require '../../../app/inc.php';
$baton_reader = $app->model('BatonReader');
$cardnumber = (string)filter_input(INPUT_GET, 'cardnumber');
$app->api(
$baton_reader->receive(
$cardnumber,
$app->config['baton_cooldown']
)
);