Remove debug

This commit is contained in:
Lee 2022-11-17 16:58:34 +00:00
parent 24bfe1b97c
commit fb4e4786a0
No known key found for this signature in database
GPG Key ID: 6EA25896ECCB3121

@ -12,7 +12,6 @@ function getCurrentDate() {
async function fetchCurrentKwh() {
const url = `https://odegdcpnma.execute-api.eu-west-2.amazonaws.com/development/prices?dno=19&voltage=LV&start=${getCurrentDate()}&end=${getCurrentDate()}`;
console.log(url);
const response = await axios.get(url);
const json = response.data;
const baseCost = json.data.data[0].Overall;