Skip to content

Commit

Permalink
Rupliu/fix7 (#174)
Browse files Browse the repository at this point in the history
* Small fix

* Small fixes
  • Loading branch information
RupengLiu authored Mar 1, 2021
1 parent ce9f645 commit 68c9478
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"OpenAPI",
"swagger"
],
"preview": true,
"activationEvents": [
"onCommand:azureApiManagement.Refresh",
"onCommand:azureApiManagement.selectSubscriptions",
Expand Down
2 changes: 1 addition & 1 deletion src/azure/apim/ApimService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IGatewayApiContract>(result.parsedBody.value);
return <IGatewayApiContract>(result.parsedBody);
}

public async deleteGatewayApi(gatewayName: string, apiName: string): Promise<void> {
Expand Down

0 comments on commit 68c9478

Please sign in to comment.