mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
strip_tags
This commit is contained in:
@@ -39,12 +39,9 @@ class Episode extends Resource
|
||||
]);
|
||||
$lecturer->addMediaFromUrl($model->podcast->data['image'])
|
||||
->toMediaCollection('avatar');
|
||||
$library = \App\Models\Library::updateOrCreate(
|
||||
$library = \App\Models\Library::firstOrCreate(
|
||||
[
|
||||
'name' => $model->podcast->title
|
||||
],
|
||||
[
|
||||
'language_codes' => [$model->podcast->language_code],
|
||||
'name' => 'Podcasts'
|
||||
]);
|
||||
$libraryItem = $model->libraryItem()
|
||||
->firstOrCreate([
|
||||
|
||||
Reference in New Issue
Block a user