diff --git a/app/assets/scripts/redux/cog-time-data.js b/app/assets/scripts/redux/cog-time-data.js index 96159610..19557f4a 100644 --- a/app/assets/scripts/redux/cog-time-data.js +++ b/app/assets/scripts/redux/cog-time-data.js @@ -32,8 +32,8 @@ export function fetchCogTimeData (id, timeframe, area) { const { body } = await fetchJSON(url, { method: 'POST', body: JSON.stringify({ - type: id, - month: reqDate, + datasetId: id, + date: reqDate, geojson: area }) });