mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-25 13:19:38 +00:00
Fix server crash on audible match #4931
This commit is contained in:
parent
81e96df9c5
commit
04eb3bc437
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ class Audible {
|
|||
})
|
||||
}
|
||||
|
||||
let genresCleaned = null
|
||||
let tagsCleaned = null
|
||||
let genresCleaned = []
|
||||
let tagsCleaned = []
|
||||
|
||||
if (genres && Array.isArray(genres)) {
|
||||
genresCleaned = [...new Set(genres.filter((g) => g.type == 'genre').map((g) => g.name))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue