|
|
|
@ -19,6 +19,7 @@ import { UsersModuleOptions } from './interfaces'
@@ -19,6 +19,7 @@ import { UsersModuleOptions } from './interfaces'
|
|
|
|
|
import { UsersRepository } from './repositories' |
|
|
|
|
import { USERS_SEEDERS } from './seeders' |
|
|
|
|
import { USERS_SERVICES, UsersService, UsersPhoneNumbersService } from './services' |
|
|
|
|
import { UsersCroneService } from './services/users-cron.service' |
|
|
|
|
|
|
|
|
|
@Module({}) |
|
|
|
|
export class UsersModule { |
|
|
|
@ -65,7 +66,7 @@ export class UsersModule {
@@ -65,7 +66,7 @@ export class UsersModule {
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
|
module: UsersModule, |
|
|
|
|
providers: [...UsersModule.getProviders(), ...USERS_SEEDERS], |
|
|
|
|
providers: [...UsersModule.getProviders(), ...USERS_SEEDERS, UsersCroneService], |
|
|
|
|
imports: UsersModule.getImports(), |
|
|
|
|
exports: UsersModule.getExports(), |
|
|
|
|
} |
|
|
|
|