ping type globalping checks

This commit is contained in:
Alex Holliday committed 2026-03-06 10:37:29 -08:00
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: [] };
}