diff --git a/src/modules/auth.ts b/src/modules/auth.ts index 9a2263f..c2f5286 100644 --- a/src/modules/auth.ts +++ b/src/modules/auth.ts @@ -5,6 +5,7 @@ import { AuthService, AuthLocalService, AuthJwtService } from 'services/auth'; import FileSystemService from 'services/filesystem'; import AuthController from 'controller/auth'; import UserController from 'controller/user'; +import AdminController from 'controller/admin'; @Module({ imports: [TypeOrmModule.forFeature([User, INode, JWTToken])], @@ -14,6 +15,6 @@ import UserController from 'controller/user'; AuthJwtService, FileSystemService ], - controllers: [AuthController, UserController] + controllers: [AuthController, UserController, AdminController] }) export default class AuthModule {}