Skip to content

Commit

Permalink
fixed issues caught by eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
danvirsen committed Nov 13, 2023
1 parent 90c4606 commit e82c102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sip-parser/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class SipMessage {

getHeaderName(hdr) {
const hdrLowerCase = hdr.toLowerCase();
return Object.keys(this.headers).find(h => h.toLowerCase() === hdrLowerCase);
return Object.keys(this.headers).find((h) => h.toLowerCase() === hdrLowerCase);
}

set(hdr, value) {
Expand Down
2 changes: 1 addition & 1 deletion lib/srf.js
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ class Srf extends Emitter {
proxyRequestHeaders.forEach((hdr) => {
const headerName = req.getHeaderName(hdr);
if (headerName) {
opts.headers[headerName] = req.get(hdr);
headers[headerName] = req.get(hdr);
}
}) ;
dlg.request({
Expand Down

0 comments on commit e82c102

Please sign in to comment.