Fix /connector/saveSnapshot still not including info about snapshots
This commit is contained in:
parent
2aa34a6346
commit
e5d25f3d66
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ Zotero.Server.Connector.SaveSnapshot.prototype = {
|
|||
}
|
||||
|
||||
let attachments = [];
|
||||
let hasAttachments = !item.isAttachment && item.getAttachments().length;
|
||||
let hasAttachments = !item.isAttachment() && item.getAttachments().length;
|
||||
if (hasAttachments) {
|
||||
attachments = [{mimeType: "text/html", title: data.title, url: data.url}];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue