|
|
|
@ -2,8 +2,6 @@ import { UserModule } from '@ghostfolio/api/app/user/user.module'; |
|
|
|
import { UserService } from '@ghostfolio/api/app/user/user.service'; |
|
|
|
import { ConfigurationModule } from '@ghostfolio/api/services/configuration/configuration.module'; |
|
|
|
import { ConfigurationService } from '@ghostfolio/api/services/configuration/configuration.service'; |
|
|
|
import { ExchangeRateDataModule } from '@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.module'; |
|
|
|
import { ExchangeRateDataService } from '@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.service'; |
|
|
|
import { PropertyModule } from '@ghostfolio/api/services/property/property.module'; |
|
|
|
import { PropertyService } from '@ghostfolio/api/services/property/property.service'; |
|
|
|
import { DataGatheringQueueModule } from '@ghostfolio/api/services/queues/data-gathering/data-gathering.module'; |
|
|
|
@ -21,7 +19,6 @@ import { CronService } from './cron.service'; |
|
|
|
imports: [ |
|
|
|
ConfigurationModule, |
|
|
|
DataGatheringQueueModule, |
|
|
|
ExchangeRateDataModule, |
|
|
|
PropertyModule, |
|
|
|
StatisticsGatheringQueueModule, |
|
|
|
TwitterBotModule, |
|
|
|
@ -32,7 +29,6 @@ import { CronService } from './cron.service'; |
|
|
|
inject: [ |
|
|
|
ConfigurationService, |
|
|
|
DataGatheringService, |
|
|
|
ExchangeRateDataService, |
|
|
|
PropertyService, |
|
|
|
StatisticsGatheringService, |
|
|
|
TwitterBotService, |
|
|
|
@ -42,7 +38,6 @@ import { CronService } from './cron.service'; |
|
|
|
useFactory: ( |
|
|
|
configurationService: ConfigurationService, |
|
|
|
dataGatheringService: DataGatheringService, |
|
|
|
exchangeRateDataService: ExchangeRateDataService, |
|
|
|
propertyService: PropertyService, |
|
|
|
statisticsGatheringService: StatisticsGatheringService, |
|
|
|
twitterBotService: TwitterBotService, |
|
|
|
@ -57,7 +52,6 @@ import { CronService } from './cron.service'; |
|
|
|
return new CronService( |
|
|
|
configurationService, |
|
|
|
dataGatheringService, |
|
|
|
exchangeRateDataService, |
|
|
|
propertyService, |
|
|
|
statisticsGatheringService, |
|
|
|
twitterBotService, |
|
|
|
|