mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-26 05:11:31 +00:00
Fix typo
This commit is contained in:
parent
1e19bf3031
commit
12b04faed2
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ class PodcastEpisode extends Model {
|
||||||
newChapters[newChapters.length - 1].end = audioDurationSecs
|
newChapters[newChapters.length - 1].end = audioDurationSecs
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger.info(`[PodcastEpisode] Successfully gnerated ${newChapters.length} chapters`)
|
Logger.info(`[PodcastEpisode] Successfully generated ${newChapters.length} chapters`)
|
||||||
|
|
||||||
if (newChapters.length == 1) {
|
if (newChapters.length == 1) {
|
||||||
throw new Error('Only one chapter found, treating as invalid description')
|
throw new Error('Only one chapter found, treating as invalid description')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue