From 574416a35aa7100eee15df8f2119782499421b19 Mon Sep 17 00:00:00 2001 From: Daniel Ledda Date: Sat, 14 Nov 2020 15:17:49 +0100 Subject: [PATCH] Almost there --- webapp/src/ClimateChart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/ClimateChart.ts b/webapp/src/ClimateChart.ts index 7675eca..065fdcc 100644 --- a/webapp/src/ClimateChart.ts +++ b/webapp/src/ClimateChart.ts @@ -46,7 +46,7 @@ class ClimateChart { private async getInitialDataBlob(): Promise { try { - const data = await fetch(this.rootUrl + "/data?since" + (new Date().getTime() - this.minutesDisplayed * 60 * 1000)); + const data = await fetch(this.rootUrl + "/data?since=" + (new Date().getTime() - this.minutesDisplayed * 60 * 1000)); return await data.json(); } catch (e) {