Fix typo
This commit is contained in:
parent
4280e08f22
commit
119506fcc7
|
@ -57,8 +57,8 @@ interface AzureADMSSQLConfig extends BasicMSSQLConfig {
|
||||||
interface NTLMMSSQLConfig extends BasicMSSQLConfig {
|
interface NTLMMSSQLConfig extends BasicMSSQLConfig {
|
||||||
authType: MSSQLConfigAuthType.NTLM
|
authType: MSSQLConfigAuthType.NTLM
|
||||||
ntlmConfig: {
|
ntlmConfig: {
|
||||||
domain: string
|
domain?: string
|
||||||
trustServerCertificate: boolean
|
trustServerCertificate?: boolean
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -159,12 +159,12 @@ const SCHEMA: Integration = {
|
||||||
fields: {
|
fields: {
|
||||||
domain: {
|
domain: {
|
||||||
type: DatasourceFieldType.STRING,
|
type: DatasourceFieldType.STRING,
|
||||||
required: true,
|
required: false,
|
||||||
display: "Domain",
|
display: "Domain",
|
||||||
},
|
},
|
||||||
trustServerCertificate: {
|
trustServerCertificate: {
|
||||||
type: DatasourceFieldType.BOOLEAN,
|
type: DatasourceFieldType.BOOLEAN,
|
||||||
required: true,
|
required: false,
|
||||||
display: "Trust server certificate",
|
display: "Trust server certificate",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -271,7 +271,7 @@ class SqlServerIntegration extends Sql implements DatasourcePlus {
|
||||||
case MSSQLConfigAuthType.NTLM:
|
case MSSQLConfigAuthType.NTLM:
|
||||||
const { domain, trustServerCertificate } = this.config.ntlmConfig
|
const { domain, trustServerCertificate } = this.config.ntlmConfig
|
||||||
clientCfg.authentication = {
|
clientCfg.authentication = {
|
||||||
type: "ntml",
|
type: "ntlm",
|
||||||
options: {
|
options: {
|
||||||
domain,
|
domain,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue