mirror of
https://github.com/jambonz/jambonz-node.git
synced 2025-12-19 05:17:49 +00:00
bug fix
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
const assert = require('assert');
|
||||
const Websocket = require('ws');
|
||||
const {WebhookResponse} = require('./webhook-response');
|
||||
|
||||
module.exports = (ws, {logger, req}) => {
|
||||
assert(ws instanceof Websocket);
|
||||
ws.locals = {logger, req, url: req.url, originalUrl: req.url};
|
||||
|
||||
/* helper for sending an ack to jambonz */
|
||||
|
||||
Reference in New Issue
Block a user