Refactor getMonitorByUserID to getMonitorByTeamID
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user