From 06e36ddd00c68869c71f7750b64e609d11f91439 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Mon, 21 Feb 2022 09:21:36 -0500 Subject: [PATCH] linting --- lib/middleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleware.js b/lib/middleware.js index 047275fd..2ce46986 100644 --- a/lib/middleware.js +++ b/lib/middleware.js @@ -147,7 +147,7 @@ module.exports = function(srf, logger) { app.call_hook?.url.startsWith('ws://') || app.call_hook?.url.startsWith('wss://')) { app.requestor = new WsRequestor(logger, account_sid, app.call_hook, accountInfo.account.webhook_secret) ; app.notifier = app.requestor; - app.call_hook.method = 'WS' + app.call_hook.method = 'WS'; } else { app.requestor = new HttpRequestor(logger, account_sid, app.call_hook, accountInfo.account.webhook_secret);