remove service regsitry, remove unused middleware

This commit is contained in:
Alex Holliday committed 2026-01-20 22:40:06 +00:00
1 parent f03ded4109
commit 44079f2eb8
14 files changed
+96 -265

No files matched your search

+3 -4
View File
@@ -1,16 +1,15 @@
import { Router } from "express";
import { verifyJWT } from "../../middleware/v1/verifyJWT.js";
import multer from "multer";
const upload = multer();
class StatusPageRoutes {
constructor(statusPageController) {
constructor(statusPageController, verifyJWT) {
this.router = Router();
this.statusPageController = statusPageController;
this.initRoutes();
this.initRoutes(verifyJWT);
}
initRoutes() {
initRoutes(verifyJWT) {
this.router.get("/", this.statusPageController.getStatusPage);
this.router.get("/team", verifyJWT, this.statusPageController.getStatusPagesByTeamId);