passed lint

pull/1768/head
Christopher Pickering 2 years ago
parent cf2ca71dee
commit 98f3c126e5
No known key found for this signature in database
GPG Key ID: E14DB3B0A0FACF84

@ -279,15 +279,14 @@ class Monitor extends BeanModel {
if (this.auth_method === "ntlm") { if (this.auth_method === "ntlm") {
options.httpsAgent.keepAlive = true; options.httpsAgent.keepAlive = true;
let ntlmOptions = let ntlmOptions = {
{
username: this.basic_auth_user, username: this.basic_auth_user,
password: this.basic_auth_pass, password: this.basic_auth_pass,
domain: this.authDomain, domain: this.authDomain,
} };
if (this.authWorkstation) { if (this.authWorkstation) {
ntlmOptions.workstation= this.authWorkstation; ntlmOptions.workstation = this.authWorkstation;
} }
res = await httpNtlm(options, ntlmOptions); res = await httpNtlm(options, ntlmOptions);

Loading…
Cancel
Save