queue
This commit is contained in:
1 parent
6fb7ad63f6
commit
0495bef469
2 files changed
+12
-4
No files matched your search
@@ -1,10 +1,11 @@
|
||||
import { Router } from "express";
|
||||
import { isAllowed } from "../middleware/isAllowed.js";
|
||||
import { isAllowed } from "@/middleware/isAllowed.js";
|
||||
import { IJobQueueController } from "@/controllers/queueController.js";
|
||||
class QueueRoutes {
|
||||
private router: Router;
|
||||
private queueController: any;
|
||||
private queueController: IJobQueueController;
|
||||
|
||||
constructor(queueController: any) {
|
||||
constructor(queueController: IJobQueueController) {
|
||||
this.router = Router();
|
||||
this.queueController = queueController;
|
||||
this.initRoutes();
|
||||
|
||||
Reference in new issue
Block a user