From d6e8cf551747d4fb90cb45909f7e122fd6793dac Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 28 Oct 2026 14:01:16 +0100 Subject: [PATCH] Task/import benchmark module in benchmarks module (#8324) Import benchmark module in benchmarks module --- .../endpoints/benchmarks/benchmarks.module.ts | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) 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 {}