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'])
|
$lecturer->addMediaFromUrl($model->podcast->data['image'])
|
||||||
->toMediaCollection('avatar');
|
->toMediaCollection('avatar');
|
||||||
$library = \App\Models\Library::updateOrCreate(
|
$library = \App\Models\Library::firstOrCreate(
|
||||||
[
|
[
|
||||||
'name' => $model->podcast->title
|
'name' => 'Podcasts'
|
||||||
],
|
|
||||||
[
|
|
||||||
'language_codes' => [$model->podcast->language_code],
|
|
||||||
]);
|
]);
|
||||||
$libraryItem = $model->libraryItem()
|
$libraryItem = $model->libraryItem()
|
||||||
->firstOrCreate([
|
->firstOrCreate([
|
||||||
|
|||||||
Reference in New Issue
Block a user