mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-06 02:09:39 +00:00
Update absId to id
This commit is contained in:
parent
d5cd4f7944
commit
94e13014ed
4 changed files with 6 additions and 6 deletions
|
|
@ -574,7 +574,7 @@ class LibraryItem extends Model {
|
|||
let jsonObject = {}
|
||||
if (this.mediaType === 'book') {
|
||||
jsonObject = {
|
||||
absId: this.id,
|
||||
id: this.id,
|
||||
tags: mediaExpanded.tags || [],
|
||||
chapters: mediaExpanded.chapters?.map((c) => ({ ...c })) || [],
|
||||
title: mediaExpanded.title,
|
||||
|
|
@ -599,7 +599,7 @@ class LibraryItem extends Model {
|
|||
}
|
||||
} else {
|
||||
jsonObject = {
|
||||
absId: this.id,
|
||||
id: this.id,
|
||||
tags: mediaExpanded.tags || [],
|
||||
title: mediaExpanded.title,
|
||||
author: mediaExpanded.author,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue