add route, controller and DB methods for updating status page
This commit is contained in:
1 parent
ff47af95fa
commit
76b21f1d8c
4 files changed
+60
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user