Fix: Authentication Middleware in StatusPage
This commit is contained in:
1 parent
1c1474cd6f
commit
dae2709d31
1 file changed
+1
-1
@@ -18,7 +18,7 @@ class StatusPageRoutes {
|
||||
this.router.post("/", upload.single("logo"), verifyJWT, this.statusPageController.createStatusPage);
|
||||
this.router.put("/:id", upload.single("logo"), verifyJWT, this.statusPageController.updateStatusPage);
|
||||
|
||||
this.router.get("/:url", this.statusPageController.getStatusPageByUrl);
|
||||
this.router.get("/:url", verifyJWT, this.statusPageController.getStatusPageByUrl);
|
||||
this.router.delete("/:id", verifyJWT, this.statusPageController.deleteStatusPage);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user