This commit is contained in:
Dave Horton
2025-01-10 19:17:41 -05:00
parent e706d60c10
commit dd2a4fead5

View File

@@ -149,7 +149,7 @@ const nudgeCallCounts = async(logger, sids, nudgeOperator, writers, direction) =
try {
const [callsSP, calls, callsApp] = await Promise.all(nudges);
logger.debug({
logger.info({
calls, callsSP, callsApp,
service_provider_sid, account_sid, application_sid
}, `call counts after ${direction > 0 ? 'increment' : 'decrement'}`);
@@ -159,7 +159,7 @@ const nudgeCallCounts = async(logger, sids, nudgeOperator, writers, direction) =
const {addKey, deleteKey} = srf.locals.realtimeDbHelpers;
if (direction > 0) {
await addKey(`debug:incalls:${account_sid}:${callId}`, Date.now());
await addKey(`debug:incalls:${account_sid}:${callId}`, new Date().toISOString());
}
else {
await deleteKey(`debug:incalls:${account_sid}:${callId}`);