FE refactor
This commit is contained in:
1 parent
e5181727fe
commit
107540b2a8
5 files changed
+60
-37
No files matched your search
@@ -247,11 +247,14 @@ class NetworkService {
|
||||
if (config.dateRange) params.append("dateRange", config.dateRange);
|
||||
if (config.normalize) params.append("normalize", config.normalize);
|
||||
|
||||
return this.axiosInstance.get(`/monitors/uptime/details/${config.monitorId}`, {
|
||||
headers: {
|
||||
Authorization: `Bearer ${config.authToken}`,
|
||||
},
|
||||
});
|
||||
return this.axiosInstance.get(
|
||||
`/monitors/uptime/details/${config.monitorId}?${params.toString()}`,
|
||||
{
|
||||
headers: {
|
||||
Authorization: `Bearer ${config.authToken}`,
|
||||
},
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user