ping type globalping checks
This commit is contained in:
1 parent
188445c57a
commit
124a8c0b07
9 files changed
+80
-40
No files matched your search
@@ -340,7 +340,7 @@ export class MonitorService implements IMonitorService {
|
||||
throw new AppError({ message: `Monitor with ID ${monitorId} not found.`, status: 404 });
|
||||
}
|
||||
|
||||
if (monitor.type !== "http" || !monitor.geoCheckEnabled) {
|
||||
if ((monitor.type !== "http" && monitor.type !== "ping") || !monitor.geoCheckEnabled) {
|
||||
return { groupedGeoChecks: [] };
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user