checks route, checks table

This commit is contained in:
Alex Holliday committed 2026-02-24 23:20:36 +00:00
1 parent 651fbd7cbb
commit e7ba3cb5f9
15 files changed
+420 -19

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import { Router } from "express";
class GeoCheckRoutes {
private router: Router;
private geoCheckController: any;
constructor(geoCheckController: any) {
this.router = Router();
this.geoCheckController = geoCheckController;
this.initRoutes();
}
initRoutes() {
this.router.get("/:monitorId", this.geoCheckController.getGeoChecksByMonitor);
}
getRouter() {
return this.router;
}
}
export default GeoCheckRoutes;