fix(episode): replace guid's empty string value to null

New episodes were no longer published on some platforms: the item guid was no longer set for new
episodes.
This commit is contained in:
Yassine Doghri 2021-07-02 06:42:03 +00:00
parent 3b5ce93c1b
commit 441052af8d
No known key found for this signature in database
GPG Key ID: 3E7F89498B960C9F
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class EpisodeController extends BaseController
'podcast_id' => $this->podcast->id,
'title' => $this->request->getPost('title'),
'slug' => $this->request->getPost('slug'),
'guid' => '',
'guid' => null,
'audio_file' => $this->request->getFile('audio_file'),
'description_markdown' => $this->request->getPost('description'),
'image' => $image,