Almost there

This commit is contained in:
Daniel Ledda
2020-11-14 15:17:49 +01:00
parent b027434827
commit 574416a35a

View File

@@ -46,7 +46,7 @@ class ClimateChart {
private async getInitialDataBlob(): Promise<SnapshotRecords> {
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) {