diff --git a/frontend/src/js/requests.js b/frontend/src/js/requests.js index 94e8e22..4ebf325 100644 --- a/frontend/src/js/requests.js +++ b/frontend/src/js/requests.js @@ -49,6 +49,8 @@ export async function createPin(pin) { "tenant": TENANT } }); + + console.log(response); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}, ${response.statusText}`); const createdPin = await response.json(); @@ -65,7 +67,7 @@ export async function createPin(pin) { */ export async function getHeatmapData() { try { - const response = await fetch(`${BACKEND_URL}/heatmap`, { + const response = await fetch(`${BACKEND_URL}/heatmap/`, { method: 'GET', headers: { 'Content-Type': 'application/json', diff --git a/frontend/version.txt b/frontend/version.txt index b482243..13637f4 100644 --- a/frontend/version.txt +++ b/frontend/version.txt @@ -1 +1 @@ -v1.0.2 \ No newline at end of file +v1.0.3 \ No newline at end of file