mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
hanover to hannover
This commit is contained in:
@@ -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);
|
$meetups = json_decode(file_get_contents(config_path('meetups/github.json')), true, 512, JSON_THROW_ON_ERROR);
|
||||||
|
|
||||||
foreach ($meetups as $meetup) {
|
foreach ($meetups as $meetup) {
|
||||||
$city = City::updateOrCreate([
|
$city = City::firstOrCreate([
|
||||||
'name' => $meetup['city'],
|
'name' => $meetup['city'],
|
||||||
], [
|
], [
|
||||||
'country_id' => Country::firstOrCreate([
|
'country_id' => Country::firstOrCreate([
|
||||||
|
|||||||
@@ -118,7 +118,7 @@
|
|||||||
"Bremen",
|
"Bremen",
|
||||||
"Niedersachsen"
|
"Niedersachsen"
|
||||||
],
|
],
|
||||||
"city": "Hanover",
|
"city": "Hannover",
|
||||||
"latitude": 52.3744779,
|
"latitude": 52.3744779,
|
||||||
"longitude": 9.7385532
|
"longitude": 9.7385532
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user