mirror of
https://github.com/jambonz/sbc-sip-sidecar.git
synced 2026-01-24 22:27:52 +00:00
fix linting error
This commit is contained in:
@@ -118,7 +118,8 @@ class Regbot {
|
||||
expires = parseInt(res.get('Expires'));
|
||||
}
|
||||
if (isNaN(expires) || expires < MIN_EXPIRES) {
|
||||
this.logger.info(`${this.aor}: got expires value of ${expires} registering to ${this.ipv4}:${this.port}, setting it to ${MIN_EXPIRES}`);
|
||||
this.logger.info({aor: this.aor, ipv4: this.ipv4, port: this.port},
|
||||
`got expires of ${expires} in 200 OK, too small so setting to ${MIN_EXPIRES}`);
|
||||
expires = MIN_EXPIRES;
|
||||
}
|
||||
debug(`setting timer for next register to ${expires} seconds`);
|
||||
|
||||
Reference in New Issue
Block a user