diff --git a/extensions/import/package.json b/extensions/import/package.json index a23652cb37..e28c57d765 100644 --- a/extensions/import/package.json +++ b/extensions/import/package.json @@ -2,7 +2,7 @@ "name": "import", "displayName": "SQL Server Import", "description": "SQL Server Import for Azure Data Studio supports importing CSV or JSON files into SQL Server.", - "version": "1.4.0", + "version": "1.4.1", "publisher": "Microsoft", "preview": true, "engines": { diff --git a/extensions/import/src/wizard/pages/summaryPage.ts b/extensions/import/src/wizard/pages/summaryPage.ts index 506a06e25a..ac121362b9 100644 --- a/extensions/import/src/wizard/pages/summaryPage.ts +++ b/extensions/import/src/wizard/pages/summaryPage.ts @@ -135,7 +135,7 @@ export class SummaryPage extends ImportPage { const connectionString = await azdata.connection.getConnectionString(currentServer.connectionId, includePasswordInConnectionString); let accessToken = undefined; - if (currentServer.options.authenticationType = 'AzureMFA') { + if (currentServer.options.authenticationType === 'AzureMFA') { const azureAccount = (await azdata.accounts.getAllAccounts()).filter(v => v.key.accountId === currentServer.options.azureAccount)[0]; accessToken = (await azdata.accounts.getAccountSecurityToken(azureAccount, currentServer.options.azureTenantId, azdata.AzureResource.Sql)).token; }