FE refactor

This commit is contained in:
Alex Holliday committed 2024-12-30 16:07:28 -08:00
1 parent e5181727fe
commit 107540b2a8
5 files changed
+60 -37

No files matched your search

+8 -5
View File
@@ -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}`,
},
}
);
}
/**