From c131fceea71d7f05d37ed9f94ed1ab429dfc2f0d Mon Sep 17 00:00:00 2001 From: Anton Voylenko Date: Thu, 15 Aug 2024 16:15:08 +0300 Subject: [PATCH] fix: misleading log on call creation (#865) --- lib/http-routes/api/create-call.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http-routes/api/create-call.js b/lib/http-routes/api/create-call.js index 0b6d918f..e20afd77 100644 --- a/lib/http-routes/api/create-call.js +++ b/lib/http-routes/api/create-call.js @@ -218,7 +218,7 @@ router.post('/', } if (!app.notifier && app.call_status_hook) { 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) { logger.debug('creating null call status hook');