add route
This commit is contained in:
1 parent
85a996635f
commit
a7f795795f
1 file changed
+6
@@ -19,6 +19,12 @@ class QueueRoutes {
|
|||||||
this.queueController.getJobs
|
this.queueController.getJobs
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.router.get(
|
||||||
|
"/all-metrics",
|
||||||
|
isAllowed(["admin", "superadmin"]),
|
||||||
|
this.queueController.getAllMetrics
|
||||||
|
);
|
||||||
|
|
||||||
this.router.post(
|
this.router.post(
|
||||||
"/jobs",
|
"/jobs",
|
||||||
isAllowed(["admin", "superadmin"]),
|
isAllowed(["admin", "superadmin"]),
|
||||||
|
|||||||
Reference in new issue
Block a user