fix a newly introduced reference error

pull/1/head
ansuz 3 years ago
parent d960c10a31
commit 1c08a27f60

@ -180,7 +180,7 @@ Channel.trimHistory = function (Env, safeKey, data, cb) {
Env.Log.info('HK_TRIM_HISTORY', { Env.Log.info('HK_TRIM_HISTORY', {
unsafeKey: unsafeKey, unsafeKey: unsafeKey,
channelId: channelId, channelId: channelId,
status: err? String(e): 'SUCCESS', status: err? String(err): 'SUCCESS',
}); });
if (err) { return void cb(err); } if (err) { return void cb(err); }
// clear historyKeeper's cache for this channel // clear historyKeeper's cache for this channel

Loading…
Cancel
Save