mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-18 14:48:29 +01:00
Update get library series api endpoint to load from db
This commit is contained in:
1 parent
9d7d4c6902
commit
4e4a976050
8 files changed
+276
-13
No files matched your search
@@ -1,5 +1,5 @@
|
||||
const uuidv4 = require("uuid").v4
|
||||
const { getTitleIgnorePrefix } = require('../../utils/index')
|
||||
const { getTitleIgnorePrefix, getTitlePrefixAtEnd } = require('../../utils/index')
|
||||
|
||||
class Series {
|
||||
constructor(series) {
|
||||
@@ -33,6 +33,7 @@ class Series {
|
||||
return {
|
||||
id: this.id,
|
||||
name: this.name,
|
||||
nameIgnorePrefix: getTitlePrefixAtEnd(this.name),
|
||||
description: this.description,
|
||||
addedAt: this.addedAt,
|
||||
updatedAt: this.updatedAt,
|
||||
|
||||
Reference in new issue
Block a user