Local API: Use libraryTypeID
rather than libraryID
for library
(#4270)
This commit is contained in:
parent
6b79b5849e
commit
d33a904207
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ Zotero.Library.prototype.toResponseJSON = function (options = {}) {
|
||||||
let uri = Zotero.URI.getLibraryURI(this.libraryID);
|
let uri = Zotero.URI.getLibraryURI(this.libraryID);
|
||||||
return {
|
return {
|
||||||
type: this.libraryType,
|
type: this.libraryType,
|
||||||
id: this.id,
|
id: this.libraryTypeID,
|
||||||
name: this.name,
|
name: this.name,
|
||||||
links: {
|
links: {
|
||||||
self: {
|
self: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue