From e43511c959afd965dcb0044d5560dc1908703dd7 Mon Sep 17 00:00:00 2001 From: Paul Girard Date: Thu, 28 Sep 2017 14:34:57 +0200 Subject: [PATCH] wrong API empty results format --- server/routes/editLog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/editLog.js b/server/routes/editLog.js index 7b44cbcb..a7e6a767 100644 --- a/server/routes/editLog.js +++ b/server/routes/editLog.js @@ -215,7 +215,7 @@ const findItemIds = (query, model, req) => () => { } -const EMPTY_RESULT = { count: 0, logs: [] } +const EMPTY_RESULT = { count: 0, results: [] } const findEdits = (model, query, whoIds, itemIds, canViewConfidential) => {