mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
createdBy fields added
This commit is contained in:
@@ -39,6 +39,7 @@ class ReadAndSyncEinundzwanzigPodcastFeed extends Command
|
||||
'link' => $podcast->feed->link,
|
||||
'language_code' => $podcast->feed->language,
|
||||
'data' => $podcast->feed,
|
||||
'created_by' => 1,
|
||||
]);
|
||||
$episodes = $client->episodes->byFeedUrl('https://einundzwanzig.space/feed.xml')
|
||||
->json();
|
||||
@@ -47,6 +48,7 @@ class ReadAndSyncEinundzwanzigPodcastFeed extends Command
|
||||
->updateOrCreate(['guid' => $item->guid], [
|
||||
'podcast_id' => $einundzwanzigPodcast->id,
|
||||
'data' => $item,
|
||||
'created_by' => 1,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user