getUptimeDetails
This commit is contained in:
1 parent
77764c51ee
commit
76fa99f7bd
8 files changed
+175
-48
No files matched your search
@@ -194,17 +194,6 @@ class MonitorModule {
|
||||
};
|
||||
};
|
||||
|
||||
getAllMonitors = async () => {
|
||||
try {
|
||||
const monitors = await this.Monitor.find();
|
||||
return monitors;
|
||||
} catch (error) {
|
||||
error.service = SERVICE_NAME;
|
||||
error.method = "getAllMonitors";
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
getMonitorById = async (monitorId) => {
|
||||
try {
|
||||
const monitor = await this.Monitor.findById(monitorId);
|
||||
|
||||
Reference in new issue
Block a user