removed incorrect "this" from this.target.auth as it actually a local const. (#296)

This commit is contained in:
Antony Jukes
2023-04-03 16:13:12 +01:00
committed by GitHub
parent e980b82ec4
commit fe529c6bfb

View File

@@ -104,7 +104,7 @@ router.post('/', async(req, res) => {
proxy: `sip:${sbcAddress}`,
localSdp: ep.local.sdp
});
if (target.auth) opts.auth = this.target.auth;
if (target.auth) opts.auth = target.auth;
/**