further fix for #192, also bug fix for starting with a ws connection and switching to webhooks later in the same call

This commit is contained in:
Dave Horton
2022-12-05 10:53:41 -05:00
parent c728417581
commit 46302703da
3 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ function retrieveCallSession(callSid, opts) {
router.post('/:callSid', async(req, res) => {
const logger = req.app.locals.logger;
const callSid = req.params.callSid;
logger.debug({body: req.body}, 'got upateCall request');
logger.debug({body: req.body}, 'got updateCall request');
try {
const cs = retrieveCallSession(callSid, req.body);
if (!cs) {