diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d8293a..96601b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # MMM-Fuel Changelog +## [2.3.1] + +### Fixed + +* Tankerkoenig prices for requests with `stationIds` + ## [2.3.0] MagicMirror² version >= 2.15.0 required. diff --git a/apis/tankerkoenig.js b/apis/tankerkoenig.js index b7a2a32..cd1fe80 100644 --- a/apis/tankerkoenig.js +++ b/apis/tankerkoenig.js @@ -293,8 +293,8 @@ async function getPricesByStationList(stationsByRadius) { for (const [stationId, info] of Object.entries(parsedResponse.prices)) { stations.push({ ...stationInfos[stationId], - isOpen: info.status !== 'closed', - prices: getPricing(info) + ...getPricing(info), + isOpen: info.status !== 'closed' }); } diff --git a/package-lock.json b/package-lock.json index 60909ea..5ccd5ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mmm-fuel", - "version": "2.3.0", + "version": "2.3.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9528313..48efdad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mmm-fuel", - "version": "2.3.0", + "version": "2.3.1", "description": "Gas Station price Module for MagicMirror2", "scripts": { "lint": "eslint . && stylelint **/*.css",