From c70ec8d25229d0209a2f96744f4520b4b5452b0f Mon Sep 17 00:00:00 2001 From: Marco van Dijk Date: Tue, 9 Aug 2022 17:53:09 +0200 Subject: [PATCH] Fix init for new Orch --- master/src/routes/master.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/src/routes/master.js b/master/src/routes/master.js index ef3c28c..56de814 100644 --- a/master/src/routes/master.js +++ b/master/src/routes/master.js @@ -156,7 +156,7 @@ masterRouter.post("/collectStats", async (req, res) => { break; } if (!orchFound) { - currentDataList = [{ tag, data: [{ latency: thisPing, timestamp: now }] }]; + currentDataList = [{ latency: thisPing, timestamp: now }]; orchScores.push({ id: thisId, data: currentDataList }); } await storage.setItem('orchScores', orchScores);