Fix CityAPI to have same arguments for getMap method as Abstract.

This commit is contained in:
2023-06-15 17:19:38 +03:00
parent 88cc3459d3
commit 61a374dfc7
+1 -1
View File
@@ -7,7 +7,7 @@ use App\Models\City;
class CityAPI extends AbstractItemAPI
{
public function getMap() {
public function getMap($context = null) {
$endpoint = '/api/v2/cities';
$citiesMap = $this->fetcher->get($endpoint);