Skip to content

Commit

Permalink
Merge pull request #92 from fewieden/develop
Browse files Browse the repository at this point in the history
2.3.1
  • Loading branch information
fewieden authored May 12, 2022
2 parents 398008c + 6bad996 commit 2323336
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions apis/tankerkoenig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
});
}

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 2323336

Please sign in to comment.