removed typecasting in return value
This commit is contained in:
parent
407b2f6904
commit
bf899d5490
|
@ -17,6 +17,6 @@ export class GraphService {
|
||||||
const client = await this.getClient();
|
const client = await this.getClient();
|
||||||
const request: GraphRequest = client.api("/admin/serviceAnnouncement/healthOverviews");
|
const request: GraphRequest = client.api("/admin/serviceAnnouncement/healthOverviews");
|
||||||
const response = await request.expand("issues").get();
|
const response = await request.expand("issues").get();
|
||||||
return Promise.resolve(response.value as ServiceHealth[]);
|
return Promise.resolve(response.value);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue