Feat: Hooks for Summary

This commit is contained in:
Br0wnHammer committed 2025-07-01 18:10:35 +05:30
1 parent 5428999d46
commit 644de5f34a
8 files changed
+91 -38

No files matched your search

+12
View File
@@ -601,6 +601,18 @@ class NetworkService {
return this.axiosInstance.get(`/checks/team?${params.toString()}`);
};
/**
* ************************************
* Get summary of checks by team ID
* ************************************
*
* @async
* @returns {Promise<AxiosResponse>} The response from the axios GET request.
*/
getChecksAndSummaryByTeamId = async () => {
return this.axiosInstance.get(`/checks/team/summary`);
};
/**
* ************************************
* Update the status of a check