From ef47337c78f1a2d89643b644dc13b1e5255aec81 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 6 Apr 2016 15:17:20 +0100 Subject: [PATCH] remove additional fields --- services/track-changes/app/coffee/PackManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/track-changes/app/coffee/PackManager.coffee b/services/track-changes/app/coffee/PackManager.coffee index 39644d514e..0b04588804 100644 --- a/services/track-changes/app/coffee/PackManager.coffee +++ b/services/track-changes/app/coffee/PackManager.coffee @@ -294,7 +294,7 @@ module.exports = PackManager = return callback() if not historyPacks? # select only the new packs not already in the index newPacks = (pack for pack in historyPacks when not indexResult?[pack._id]?) - newPacks = (_.omit(pack, 'doc_id', 'project_id', 'n', 'sz') for pack in newPacks) + newPacks = (_.omit(pack, 'doc_id', 'project_id', 'n', 'sz', 'last_checked', 'finalised') for pack in newPacks) if newPacks.length logger.log {project_id, doc_id, n: newPacks.length}, "found new packs" callback(null, newPacks)