Added Admin Controller to Module...

This commit is contained in:
Mutzi 2022-08-25 21:12:08 +02:00
parent 1884a232f4
commit bcd2beb980

View File

@ -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 {}