From 98f3c126e5febd7777cf361d8e771a8aa594177c Mon Sep 17 00:00:00 2001 From: Christopher Pickering Date: Tue, 14 Jun 2022 07:58:35 -0500 Subject: [PATCH] passed lint --- server/model/monitor.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 63fd3711..77487530 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -279,15 +279,14 @@ class Monitor extends BeanModel { if (this.auth_method === "ntlm") { options.httpsAgent.keepAlive = true; - let ntlmOptions = - { + let ntlmOptions = { username: this.basic_auth_user, password: this.basic_auth_pass, domain: this.authDomain, - } + }; if (this.authWorkstation) { - ntlmOptions.workstation= this.authWorkstation; + ntlmOptions.workstation = this.authWorkstation; } res = await httpNtlm(options, ntlmOptions);