add route, controller, and db method for getting all status pages by ID

This commit is contained in:
Alex Holliday committed 2025-02-10 13:41:21 -08:00
1 parent f78343d03f
commit 48cfeb1558
6 files changed
+64 -9

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ class StatusPageRoutes {
initRoutes() {
this.router.get("/", this.statusPageController.getStatusPage);
this.router.get("/:url", this.statusPageController.getStatusPageByUrl);
this.router.get("/team/:teamId", this.statusPageController.getStatusPagesByTeamId);
this.router.post(
"/",
upload.single("logo"),