Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Task/import benchmark module in benchmarks module (#8324)

Thomas Kauld6e8cf551747
diff --git a/apps/api/src/app/endpoints/benchmarks/benchmarks.module.ts b/apps/api/src/app/endpoints/benchmarks/benchmarks.module.ts
index ca2b338ba6..d8ef6d7335 100644
--- a/apps/api/src/app/endpoints/benchmarks/benchmarks.module.ts
+++ b/apps/api/src/app/endpoints/benchmarks/benchmarks.module.ts
@@ -3,17 +3,11 @@ import { SymbolModule } from '@ghostfolio/api/app/symbol/symbol.module';
import { TransformDataSourceInRequestModule } from '@ghostfolio/api/interceptors/transform-data-source-in-request/transform-data-source-in-request.module';
import { TransformDataSourceInResponseModule } from '@ghostfolio/api/interceptors/transform-data-source-in-response/transform-data-source-in-response.module';
import { ApiModule } from '@ghostfolio/api/services/api/api.module';
-import { BenchmarkService } from '@ghostfolio/api/services/benchmark/benchmark.service';
+import { BenchmarkModule } from '@ghostfolio/api/services/benchmark/benchmark.module';
import { ConfigurationModule } from '@ghostfolio/api/services/configuration/configuration.module';
-import { DataProviderModule } from '@ghostfolio/api/services/data-provider/data-provider.module';
import { ExchangeRateDataModule } from '@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.module';
import { ImpersonationModule } from '@ghostfolio/api/services/impersonation/impersonation.module';
import { MarketDataModule } from '@ghostfolio/api/services/market-data/market-data.module';
-import { MarketDataService } from '@ghostfolio/api/services/market-data/market-data.service';
-import { PrismaModule } from '@ghostfolio/api/services/prisma/prisma.module';
-import { PropertyModule } from '@ghostfolio/api/services/property/property.module';
-import { RedisCacheModule } from '@ghostfolio/api/services/redis-cache/redis-cache.module';
-import { SymbolProfileModule } from '@ghostfolio/api/services/symbol-profile/symbol-profile.module';
import { Module } from '@nestjs/common';
@@ -24,20 +18,16 @@ import { BenchmarksService } from './benchmarks.service';
controllers: [BenchmarksController],
imports: [
ApiModule,
+ BenchmarkModule,
ConfigurationModule,
- DataProviderModule,
ExchangeRateDataModule,
ImpersonationModule,
MarketDataModule,
PortfolioModule,
- PrismaModule,
- PropertyModule,
- RedisCacheModule,
SymbolModule,
- SymbolProfileModule,
TransformDataSourceInRequestModule,
TransformDataSourceInResponseModule
],
- providers: [BenchmarkService, BenchmarksService, MarketDataService]
+ providers: [BenchmarksService]
})
export class BenchmarksModule {}