Changed endpoints and db queries, chart now shows suggested mins and maxes
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
urlEndpoint += "since/" + pathname.slice(pathname.lastIndexOf("/") + 1);
|
urlEndpoint += "since/" + pathname.slice(pathname.lastIndexOf("/") + 1);
|
||||||
}
|
}
|
||||||
const data = await fetch(urlEndpoint);
|
const data = await fetch(urlEndpoint);
|
||||||
console.log(pathname, data);
|
console.log(pathname, data.json());
|
||||||
return transformData(await data.json());
|
return transformData(await data.json());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user