From bcd2beb9802ac8c9c9222ebff45e009142e4ac07 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 25 Aug 2022 21:12:08 +0200 Subject: [PATCH] Added Admin Controller to Module... --- src/modules/auth.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {}