Added Admin Controller to Module...
This commit is contained in:
parent
1884a232f4
commit
bcd2beb980
@ -5,6 +5,7 @@ import { AuthService, AuthLocalService, AuthJwtService } from 'services/auth';
|
|||||||
import FileSystemService from 'services/filesystem';
|
import FileSystemService from 'services/filesystem';
|
||||||
import AuthController from 'controller/auth';
|
import AuthController from 'controller/auth';
|
||||||
import UserController from 'controller/user';
|
import UserController from 'controller/user';
|
||||||
|
import AdminController from 'controller/admin';
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [TypeOrmModule.forFeature([User, INode, JWTToken])],
|
imports: [TypeOrmModule.forFeature([User, INode, JWTToken])],
|
||||||
@ -14,6 +15,6 @@ import UserController from 'controller/user';
|
|||||||
AuthJwtService,
|
AuthJwtService,
|
||||||
FileSystemService
|
FileSystemService
|
||||||
],
|
],
|
||||||
controllers: [AuthController, UserController]
|
controllers: [AuthController, UserController, AdminController]
|
||||||
})
|
})
|
||||||
export default class AuthModule {}
|
export default class AuthModule {}
|
||||||
|
Loading…
Reference in New Issue
Block a user