This commit is contained in:
Cedric Hoelzl 2020-07-02 03:03:06 +02:00
parent 44a18ca4b6
commit 9d91409629

View File

@ -85,7 +85,7 @@ async function get_tracking(trck_ids){
.then(res => res.json()) .then(res => res.json())
.then(res => { .then(res => {
var results = []; var results = [];
for(var rr of resp.dat){ for(var rr of res.dat){
if(rr.track) if(rr.track)
results.push({id:rr.no, date:rr.track.z0.a, loc:rr.track.z0.c, status:rr.track.z0.z}); results.push({id:rr.no, date:rr.track.z0.a, loc:rr.track.z0.c, status:rr.track.z0.z});
else else