mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
fix: misleading log on call creation (#865)
This commit is contained in:
@@ -218,7 +218,7 @@ router.post('/',
|
|||||||
}
|
}
|
||||||
if (!app.notifier && app.call_status_hook) {
|
if (!app.notifier && app.call_status_hook) {
|
||||||
app.notifier = new HttpRequestor(logger, account.account_sid, app.call_status_hook, account.webhook_secret);
|
app.notifier = new HttpRequestor(logger, account.account_sid, app.call_status_hook, account.webhook_secret);
|
||||||
logger.debug({call_hook: app.call_hook}, 'creating http client for call status hook');
|
logger.debug({call_status_hook: app.call_status_hook}, 'creating http client for call status hook');
|
||||||
}
|
}
|
||||||
else if (!app.notifier) {
|
else if (!app.notifier) {
|
||||||
logger.debug('creating null call status hook');
|
logger.debug('creating null call status hook');
|
||||||
|
|||||||
Reference in New Issue
Block a user