Unverified Commit 63f49c71 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix: save transcript and chapters files to podcasts folder

parent 8d9bba4e
Pipeline #931 passed with stages
in 17 minutes and 31 seconds
......@@ -231,7 +231,7 @@ class Episode extends Entity
$this->attributes['transcript_file_path'] = save_media(
$transcriptFile,
$this->getPodcast()
'podcasts/' . $this->getPodcast()
->name,
$this->attributes['slug'] . '-transcript',
);
......@@ -248,7 +248,7 @@ class Episode extends Entity
$this->attributes['chapters_file_path'] = save_media(
$chaptersFile,
$this->getPodcast()
'podcasts/' . $this->getPodcast()
->name,
$this->attributes['slug'] . '-chapters',
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment