feature/1-basic-scan-client #3

Merged
philipp merged 32 commits from feature/1-basic-scan-client into dev 2021-03-18 17:54:43 +00:00
Showing only changes of commit 559842d2a6 - Show all commits

View File

@ -58,14 +58,11 @@
if (card === "cnf") {
page.set("settings");
} else {
console.log({
blubb: { Authorization: "Bearer " + $apikey },
data: { card, station: JSON.parse($stationinfo).id },
});
card = parseInt(card);
lastscan_error = "";
axios
.request({
method: "GET",
method: "POST",
url: "https://dev.lauf-fuer-kaya.de/api/scans/trackscans",
headers: { Authorization: "Bearer " + $apikey },
data: { card, station: JSON.parse($stationinfo).id },