mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 12:00:35 +03:00
passed lint
This commit is contained in:
parent
cf2ca71dee
commit
98f3c126e5
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue