From d33a904207b69d0008c14a1d55258b31e3705852 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 12 Jun 2024 05:05:48 -0400 Subject: [PATCH] Local API: Use `libraryTypeID` rather than `libraryID` for `library` (#4270) --- chrome/content/zotero/xpcom/data/library.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/library.js b/chrome/content/zotero/xpcom/data/library.js index df3eff7d6a..a1dcd74f2a 100644 --- a/chrome/content/zotero/xpcom/data/library.js +++ b/chrome/content/zotero/xpcom/data/library.js @@ -682,7 +682,7 @@ Zotero.Library.prototype.toResponseJSON = function (options = {}) { let uri = Zotero.URI.getLibraryURI(this.libraryID); return { type: this.libraryType, - id: this.id, + id: this.libraryTypeID, name: this.name, links: { self: {