diff --git a/apps/api/src/app/app.controller.ts b/apps/api/src/app/app.controller.ts index 32a4982fe..d92a7a3ce 100644 --- a/apps/api/src/app/app.controller.ts +++ b/apps/api/src/app/app.controller.ts @@ -1,19 +1,16 @@ import { ExchangeRateDataService } from '@ghostfolio/api/services/exchange-rate-data.service'; -import { PrismaService } from '@ghostfolio/api/services/prisma.service'; import { Controller } from '@nestjs/common'; @Controller() export class AppController { public constructor( - private readonly exchangeRateDataService: ExchangeRateDataService, - private readonly prismaService: PrismaService + private readonly exchangeRateDataService: ExchangeRateDataService ) { this.initialize(); } private async initialize() { try { - await this.prismaService.$connect(); await this.exchangeRateDataService.initialize(); } catch {} }