diff --git a/package.json b/package.json index 972a8a2..ee4e3d7 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "OpenAPI", "swagger" ], - "preview": true, "activationEvents": [ "onCommand:azureApiManagement.Refresh", "onCommand:azureApiManagement.selectSubscriptions", diff --git a/src/azure/apim/ApimService.ts b/src/azure/apim/ApimService.ts index 9871325..a7a136a 100644 --- a/src/azure/apim/ApimService.ts +++ b/src/azure/apim/ApimService.ts @@ -53,7 +53,7 @@ export class ApimService { url: `${this.baseUrl}/gateways/${gatewayName}/apis/${apiName}?api-version=${this.apiVersion}` }); // tslint:disable-next-line: no-unsafe-any - return (result.parsedBody.value); + return (result.parsedBody); } public async deleteGatewayApi(gatewayName: string, apiName: string): Promise {