Changed endpoints and db queries, chart now shows suggested mins and maxes

This commit is contained in:
Daniel Ledda
2020-11-07 01:18:39 +01:00
parent e40a25bbd5
commit b16c240760

View File

@@ -22,7 +22,7 @@
urlEndpoint += "since/" + pathname.slice(pathname.lastIndexOf("/") + 1);
}
const data = await fetch(urlEndpoint);
console.log(pathname, data);
console.log(pathname, data.json());
return transformData(await data.json());
}