commit 5b467352046b988649984e6a6eb9c0499ef71688 parent c5fa1303e39e720c20a901d8263a148d518c9a85 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 26 Jan 2018 04:23:54 -0500 Fix test breakage from d67c6542451 Diffstat:
| M | 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 @@ -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 = {