diff --git a/map.js b/map.js index 92ce4e2..6a855a2 100644 --- a/map.js +++ b/map.js @@ -48,7 +48,7 @@ function mapProperties(json) { const history = (json, hour) => { let pressure = json.history.find((h) => h.hour === hour).pressure; - return pressure !== null ? validateProperty(pressure) : null; + return pressure !== null ? validateProperty(pressure.meta.value) : null; } const defaultPropertyValue = null;