From 276b11603e9195430a7cfc2b568d3b7ee7d89d0e Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 25 Mar 2026 13:49:13 -0700 Subject: [PATCH] throw error on missing continent --- server/src/controllers/geoCheckController.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/server/src/controllers/geoCheckController.ts b/server/src/controllers/geoCheckController.ts index 8ac130459..96f9beeac 100644 --- a/server/src/controllers/geoCheckController.ts +++ b/server/src/controllers/geoCheckController.ts @@ -26,16 +26,6 @@ class GeoCheckController implements IGeoCheckController { const validatedParams = getChecksParamValidation.parse(req.params); const validatedQuery = getChecksQueryValidation.parse(req.query); - if (!validatedQuery.continent || validatedQuery.continent.length === 0) { - throw new AppError({ - message: "At least one continent must be specified", - service: SERVICE_NAME, - method: "getGeoChecksByMonitor", - details: { monitorId: validatedParams.monitorId }, - status: 400, - }); - } - const teamId = requireTeamId(req.user?.teamId); const result = await this.geoChecksService.getGeoChecksByMonitor({