add route

This commit is contained in:
Alex Holliday committed 2025-06-20 14:29:36 +08:00
1 parent 85a996635f
commit a7f795795f
1 file changed
+6
+6
View File
@@ -19,6 +19,12 @@ class QueueRoutes {
this.queueController.getJobs
);
this.router.get(
"/all-metrics",
isAllowed(["admin", "superadmin"]),
this.queueController.getAllMetrics
);
this.router.post(
"/jobs",
isAllowed(["admin", "superadmin"]),