check,auth
This commit is contained in:
1 parent
7456609e35
commit
7144c20c5b
3 files changed
+16
-5
No files matched your search
@@ -1,12 +1,13 @@
|
||||
import { Router } from "express";
|
||||
|
||||
import { isAllowed } from "../middleware/isAllowed.js";
|
||||
import { ICheckController } from "@/controllers/checkController.js";
|
||||
|
||||
class CheckRoutes {
|
||||
private router: Router;
|
||||
private checkController: any;
|
||||
private checkController: ICheckController;
|
||||
|
||||
constructor(checkController: any) {
|
||||
constructor(checkController: ICheckController) {
|
||||
this.router = Router();
|
||||
this.checkController = checkController;
|
||||
this.initRoutes();
|
||||
|
||||
Reference in new issue
Block a user