This commit is contained in:
Benjamin Takats
2023-01-24 16:59:36 +01:00
parent 7e5f6c30ad
commit e444a4e973
11 changed files with 267 additions and 203 deletions

View File

@@ -39,7 +39,15 @@ class SyncGithubMeetups extends Command
'github_data' => $meetup,
]);
} else {
$this->info('Missing: '.$meetup['name'] . ' Url: ' . $meetup['url']);
$this->info('Missing: '.$meetup['name'].' Url: '.$meetup['url']);
if (app()->environment('local')) {
Meetup::create([
'name' => $meetup['name'],
'city_id' => 1,
'created_by' => 1,
'github_data' => $meetup,
]);
}
}
}