|
|
@ -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
|
|
|
|