diff --git a/samples/react-m365-services-health/src/common/services/GraphService.ts b/samples/react-m365-services-health/src/common/services/GraphService.ts index ae6c1eee8..177ad4856 100644 --- a/samples/react-m365-services-health/src/common/services/GraphService.ts +++ b/samples/react-m365-services-health/src/common/services/GraphService.ts @@ -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); }; }