From 2da51c4bada59ebbd0e0b5dd2925481b6ac2ee89 Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sun, 22 Jun 2025 11:41:35 +0700 Subject: [PATCH] feat(services): add health endpoint to data service --- apps/client/src/app/services/data.service.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/client/src/app/services/data.service.ts b/apps/client/src/app/services/data.service.ts index e3bd9f27b..fdc6274cf 100644 --- a/apps/client/src/app/services/data.service.ts +++ b/apps/client/src/app/services/data.service.ts @@ -380,6 +380,10 @@ export class DataService { return this.http.get('/api/v1/benchmarks'); } + public fetchDataProviderHealth(dataSource: DataSource): Observable { + return this.http.get(`/api/v1/health/data-provider/${dataSource}`); + } + public fetchExport({ activityIds, filters