hanover to hannover

This commit is contained in:
Benjamin Takats
2022-12-14 11:09:04 +01:00
parent 162f635880
commit 7dede68675
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ class ImportGithubMeetups extends Command
$meetups = json_decode(file_get_contents(config_path('meetups/github.json')), true, 512, JSON_THROW_ON_ERROR);
foreach ($meetups as $meetup) {
$city = City::updateOrCreate([
$city = City::firstOrCreate([
'name' => $meetup['city'],
], [
'country_id' => Country::firstOrCreate([

View File

@@ -118,7 +118,7 @@
"Bremen",
"Niedersachsen"
],
"city": "Hanover",
"city": "Hannover",
"latitude": 52.3744779,
"longitude": 9.7385532
},