Add network requests and validation

This commit is contained in:
Alex Holliday committed 2024-09-05 12:16:29 -07:00
1 parent cec8ecd985
commit 9eaab0da1a
6 files changed
+63 -16

No files matched your search

@@ -53,14 +53,10 @@ export const getUptimeMonitorsByTeamId = createAsyncThunk(
async (token, thunkApi) => {
const user = jwtDecode(token);
try {
const res = await networkService.getMonitorsByTeamId(
const res = await networkService.getMonitorsAndSummaryByTeamId(
token,
user.teamId,
25,
["http", "ping"],
null,
"desc",
true
["http", "ping"]
);
return res.data;
} catch (error) {