From 83ae42e5a01d7ff2d1197bc8c16a1b748a8eed16 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 26 Jan 2018 04:23:54 -0500 Subject: [PATCH] Fix test breakage from d67c6542451 (cherry picked from commit 5b467352046b988649984e6a6eb9c0499ef71688) --- chrome/content/zotero/xpcom/data/dataObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/dataObject.js b/chrome/content/zotero/xpcom/data/dataObject.js index bbc72f034..342aeede2 100644 --- a/chrome/content/zotero/xpcom/data/dataObject.js +++ b/chrome/content/zotero/xpcom/data/dataObject.js @@ -1249,7 +1249,7 @@ Zotero.DataObject.prototype._finalizeErase = Zotero.Promise.coroutine(function* }); -Zotero.DataObject.prototype.toResponseJSON = function (options) { +Zotero.DataObject.prototype.toResponseJSON = function (options = {}) { // TODO: library block? var json = {