From ff3a40aa3152d5e09a70d3afb02356e4ba516631 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 8 Jan 2024 19:11:20 +0100 Subject: [PATCH] Fix TypeError --- lib/eviction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eviction.js b/lib/eviction.js index dd0d777ab..4cac76e71 100644 --- a/lib/eviction.js +++ b/lib/eviction.js @@ -559,7 +559,7 @@ module.exports = function (Env, cb) { // remove the pin logs of inactive accounts if inactive account removal is configured if (Env.DRY_RUN) { - return void Log.info("EVICT_INACTIVE_ACCOUNT_DRY_RUN", id, cb); + return void Log.info("EVICT_INACTIVE_ACCOUNT_DRY_RUN", id, next); } pinStore.archiveChannel(id, undefined, function (err) { if (err) {