mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
meetup fix
This commit is contained in:
@@ -64,10 +64,10 @@ class ReadAndSyncPodcastFeeds extends Command
|
|||||||
foreach ($feedIds as $feedId) {
|
foreach ($feedIds as $feedId) {
|
||||||
$podcast = $client->podcasts->byFeedId($feedId)
|
$podcast = $client->podcasts->byFeedId($feedId)
|
||||||
->json();
|
->json();
|
||||||
$this->info('Importing: ' . $podcast->feed->title);
|
|
||||||
if (is_array($podcast->feed)) {
|
if (is_array($podcast->feed)) {
|
||||||
Log::error('Error importing feed: ' . $feedId);
|
Log::error('Error importing feed: ' . $feedId);
|
||||||
}
|
}
|
||||||
|
$this->info('Importing: ' . $podcast->feed->title);
|
||||||
$importPodcast = Podcast::query()
|
$importPodcast = Podcast::query()
|
||||||
->updateOrCreate(['guid' => $podcast->feed->podcastGuid], [
|
->updateOrCreate(['guid' => $podcast->feed->podcastGuid], [
|
||||||
'title' => $podcast->feed->title,
|
'title' => $podcast->feed->title,
|
||||||
|
|||||||
Reference in New Issue
Block a user