From 119506fcc70cb2ecb4d7ab0dce1718b5c2accf4f Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 11 Jul 2023 15:41:49 +0200 Subject: [PATCH] Fix typo --- packages/server/src/integrations/microsoftSqlServer.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/server/src/integrations/microsoftSqlServer.ts b/packages/server/src/integrations/microsoftSqlServer.ts index d27e069919..c9e3b82a9f 100644 --- a/packages/server/src/integrations/microsoftSqlServer.ts +++ b/packages/server/src/integrations/microsoftSqlServer.ts @@ -57,8 +57,8 @@ interface AzureADMSSQLConfig extends BasicMSSQLConfig { interface NTLMMSSQLConfig extends BasicMSSQLConfig { authType: MSSQLConfigAuthType.NTLM ntlmConfig: { - domain: string - trustServerCertificate: boolean + domain?: string + trustServerCertificate?: boolean } } @@ -159,12 +159,12 @@ const SCHEMA: Integration = { fields: { domain: { type: DatasourceFieldType.STRING, - required: true, + required: false, display: "Domain", }, trustServerCertificate: { type: DatasourceFieldType.BOOLEAN, - required: true, + required: false, display: "Trust server certificate", }, }, @@ -271,7 +271,7 @@ class SqlServerIntegration extends Sql implements DatasourcePlus { case MSSQLConfigAuthType.NTLM: const { domain, trustServerCertificate } = this.config.ntlmConfig clientCfg.authentication = { - type: "ntml", + type: "ntlm", options: { domain, },