From 9d9140962909281b3418a25075c0f885139c1b3d Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Thu, 2 Jul 2020 03:03:06 +0200 Subject: [PATCH] fix --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index eec40fd..027a9b3 100644 --- a/config.js +++ b/config.js @@ -85,7 +85,7 @@ async function get_tracking(trck_ids){ .then(res => res.json()) .then(res => { var results = []; - for(var rr of resp.dat){ + for(var rr of res.dat){ if(rr.track) results.push({id:rr.no, date:rr.track.z0.a, loc:rr.track.z0.c, status:rr.track.z0.z}); else