From 94d8e7f2c2d8c3065e8cfa14db6c7dcaf15a7487 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 28 Feb 2020 10:49:20 -0500 Subject: [PATCH] provide a consistent type for 'customLimits' --- lib/historyKeeper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/historyKeeper.js b/lib/historyKeeper.js index ed67602bd..95cb43e56 100644 --- a/lib/historyKeeper.js +++ b/lib/historyKeeper.js @@ -68,7 +68,7 @@ module.exports.create = function (config, cb) { allowSubscriptions: config.allowSubscriptions, myDomain: config.myDomain, mySubdomain: config.mySubdomain, - customLimits: config.customLimits, + customLimits: config.customLimits || {}, // FIXME this attribute isn't in the default conf // but it is referenced in Quota domain: config.domain