mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-19 00:58:35 +02:00
prettier
This commit is contained in:
parent
a6422bb3fc
commit
ad2c5c29e1
3 changed files with 13 additions and 13 deletions
|
@ -41,7 +41,7 @@ class AudiMeta {
|
|||
}
|
||||
|
||||
cleanResult(item) {
|
||||
const { title, subtitle, asin, authors, narrators, publisherName, summary, releaseDate, imageUrl, genres, series, language, lengthMinutes, bookFormat } = item
|
||||
const { title, subtitle, asin, authors, narrators, publisherName, summary, releaseDate, imageUrl, genres, series, language, lengthMinutes, bookFormat } = item
|
||||
|
||||
const seriesList = []
|
||||
|
||||
|
@ -50,7 +50,7 @@ class AudiMeta {
|
|||
series: s.name,
|
||||
sequence: this.cleanSeriesSequence(s.name, (s.position || '').toString())
|
||||
})
|
||||
});
|
||||
})
|
||||
|
||||
// Tags and Genres are flipped for AudiMeta
|
||||
const genresFiltered = genres ? genres.filter((g) => g.type == 'Tags').map((g) => g.name) : []
|
||||
|
@ -147,7 +147,8 @@ class AudiMeta {
|
|||
items = await axios
|
||||
.get(url, {
|
||||
timeout
|
||||
}).then((res) => {
|
||||
})
|
||||
.then((res) => {
|
||||
return res.data
|
||||
})
|
||||
.catch((error) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue