removed typecasting in return value

This commit is contained in:
Harminder Singh 2023-02-19 10:20:21 +05:30
parent 407b2f6904
commit bf899d5490
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ export class GraphService {
const client = await this.getClient();
const request: GraphRequest = client.api("/admin/serviceAnnouncement/healthOverviews");
const response = await request.expand("issues").get();
return Promise.resolve(response.value as ServiceHealth[]);
return Promise.resolve(response.value);
};
}