Updating assessment api response object in SQL Migration (#16334)

* Modifying the get assessments  api to match the new specs

* fixing property name

* Updating sts version
This commit is contained in:
Aasim Khan
2021-07-20 13:55:58 -07:00
committed by GitHub
parent a322c5be9d
commit 1eb03404ad
5 changed files with 67 additions and 33 deletions

View File

@@ -29,7 +29,7 @@ export class SqlMigrationService implements mssql.ISqlMigrationService {
context.registerService(constants.SqlMigrationService, this);
}
async getAssessments(ownerUri: string): Promise<mssql.SqlMigrationAssessmentResult | undefined> {
async getAssessments(ownerUri: string): Promise<mssql.AssessmentResult | undefined> {
let params: contracts.SqlMigrationAssessmentParams = { ownerUri: ownerUri };
try {
return this.client.sendRequest(contracts.GetSqlMigrationAssessmentItemsRequest.type, params);