Refactor getMonitorByUserID to getMonitorByTeamID

This commit is contained in:
Alex Holliday committed 2024-08-26 19:38:24 -07:00
1 parent e658b4759a
commit 465c1f9f9e
7 files changed
+26 -26

No files matched your search

@@ -33,9 +33,9 @@ export const getUptimeMonitorsByUserId = createAsyncThunk(
async (token, thunkApi) => {
const user = jwtDecode(token);
try {
const res = await networkService.getMonitorsByUserId(
const res = await networkService.getMonitorsByTeamId(
token,
user._id,
user.teamId,
25,
["http", "ping"],
null,