From 7dede686756063f40785f92ac65f1758d8839be6 Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Wed, 14 Dec 2022 11:09:04 +0100 Subject: [PATCH] hanover to hannover --- app/Console/Commands/Database/ImportGithubMeetups.php | 2 +- config/meetups/github.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Database/ImportGithubMeetups.php b/app/Console/Commands/Database/ImportGithubMeetups.php index b116ece1..0445d61d 100644 --- a/app/Console/Commands/Database/ImportGithubMeetups.php +++ b/app/Console/Commands/Database/ImportGithubMeetups.php @@ -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([ diff --git a/config/meetups/github.json b/config/meetups/github.json index e8b4efa5..a23e08b0 100644 --- a/config/meetups/github.json +++ b/config/meetups/github.json @@ -118,7 +118,7 @@ "Bremen", "Niedersachsen" ], - "city": "Hanover", + "city": "Hannover", "latitude": 52.3744779, "longitude": 9.7385532 },