diff --git a/api/handlers/ntlm.ts b/api/handlers/ntlm.ts index 5caf2392..cf037d8b 100644 --- a/api/handlers/ntlm.ts +++ b/api/handlers/ntlm.ts @@ -14,15 +14,15 @@ export class NtlmCredentialHandler implements VsoBaseInterfaces.IRequestHandler workstation: string; domain: string; - constructor(username: string, password: string, domain?: string, workstation?: string) { + constructor(username: string, password: string, workstation?: string, domain?: string) { this.username = username; this.password = password; - if (domain !== undefined) { - this.domain = domain; - } if (workstation !== undefined) { this.workstation = workstation; } + if (domain !== undefined) { + this.domain = domain; + } } prepareRequest(options:any): void {