Fix init for new Orch

This commit is contained in:
Marco van Dijk 2022-08-09 17:53:09 +02:00
parent 80311c3fba
commit c70ec8d252

View File

@ -156,7 +156,7 @@ masterRouter.post("/collectStats", async (req, res) => {
break; break;
} }
if (!orchFound) { if (!orchFound) {
currentDataList = [{ tag, data: [{ latency: thisPing, timestamp: now }] }]; currentDataList = [{ latency: thisPing, timestamp: now }];
orchScores.push({ id: thisId, data: currentDataList }); orchScores.push({ id: thisId, data: currentDataList });
} }
await storage.setItem('orchScores', orchScores); await storage.setItem('orchScores', orchScores);