Skip to content

Commit be156b5

Browse files
authored
adding hotfix for countries list (#414)
1 parent 638167c commit be156b5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).
55

6+
## [8.0.7]
7+
8+
### Fixed
9+
- Countries get list pulled the data from the wrong manifest cache file.
10+
611
## [8.0.6]
712

813
### Fixed
@@ -581,6 +586,7 @@ Init setup
581586

582587
[Unreleased]: https://github.com/infinum/eightshift-libs/compare/main...HEAD
583588

589+
[8.0.7]: https://github.com/infinum/eightshift-libs/compare/8.0.6...8.0.7
584590
[8.0.6]: https://github.com/infinum/eightshift-libs/compare/8.0.5...8.0.6
585591
[8.0.5]: https://github.com/infinum/eightshift-libs/compare/8.0.4...8.0.5
586592
[8.0.4]: https://github.com/infinum/eightshift-libs/compare/8.0.3...8.0.4

src/Geolocation/AbstractGeolocation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function getCountries(): array
179179
],
180180
];
181181

182-
$data = $this->manifestCache->getManifestCacheTopItem(AbstractManifestCache::ASSETS_KEY, AbstractManifestCache::TYPE_ASSETS);
182+
$data = $this->manifestCache->getManifestCacheTopItem(AbstractManifestCache::COUNTRIES_KEY, AbstractManifestCache::TYPE_GEOLOCATION);
183183

184184
foreach ($data as $country) {
185185
$code = $country['Code'] ?? '';

0 commit comments

Comments
 (0)