mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-03-02 09:49:11 +00:00
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 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);
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user