Skip to content

Commit

Permalink
Update callStatusCallbackHandler.js
Browse files Browse the repository at this point in the history
explicitly declare `inboundClient` variable.
  • Loading branch information
temitope committed May 27, 2019
1 parent 3836a92 commit c445fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/callStatusCallbackHandler.js
Expand Up @@ -16,7 +16,7 @@ router.post("/", (req, res, next) => {
console.debug("\t\tstatus:\t", req.body.CallStatus);

var callWebSocketMapping = req.app.get("callWebSocketMapping");
inboundClient = callWebSocketMapping.get(req.body.CallSid);
var inboundClient = callWebSocketMapping.get(req.body.CallSid);

var response = JSON.stringify({
messageType: "callUpdate",
Expand Down

0 comments on commit c445fce

Please sign in to comment.