handle delete

This commit is contained in:
Alex Holliday committed 2026-02-03 21:14:16 +00:00
1 parent 40e5550e0f
commit a80df60fc1
9 files changed
+47 -25

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ class StatusPageRoutes {
this.router.put("/:id", upload.single("logo"), verifyJWT, this.statusPageController.updateStatusPage);
this.router.get("/:url", this.statusPageController.getStatusPageByUrl);
this.router.delete("/:url(*)", verifyJWT, this.statusPageController.deleteStatusPage);
this.router.delete("/:id", verifyJWT, this.statusPageController.deleteStatusPage);
}
getRouter() {