Update absId to id

This commit is contained in:
Cutch 2025-11-25 09:21:26 -05:00
parent d5cd4f7944
commit 94e13014ed
4 changed files with 6 additions and 6 deletions

View file

@ -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,