add route, controller and DB methods for updating status page

This commit is contained in:
Alex Holliday committed 2025-02-05 10:55:08 -08:00
1 parent ff47af95fa
commit 76b21f1d8c
4 files changed
+60 -2

No files matched your search

+6
View File
@@ -18,6 +18,12 @@ class StatusPageRoutes {
verifyJWT,
this.statusPageController.createStatusPage
);
this.router.put(
"/",
upload.single("logo"),
verifyJWT,
this.statusPageController.updateStatusPage
);
this.router.delete("/", verifyJWT, this.statusPageController.deleteStatusPage);
}