diff --git a/apps/api/src/app/health/health.controller.ts b/apps/api/src/app/health/health.controller.ts index 40473d3c6..717988ebc 100644 --- a/apps/api/src/app/health/health.controller.ts +++ b/apps/api/src/app/health/health.controller.ts @@ -3,7 +3,9 @@ import { TransformDataSourceInRequestInterceptor } from '@ghostfolio/api/interce import { Controller, Get, + HttpCode, HttpException, + HttpStatus, Param, UseInterceptors } from '@nestjs/common'; @@ -16,6 +18,12 @@ import { HealthService } from './health.service'; export class HealthController { public constructor(private readonly healthService: HealthService) {} + @Get() + @HttpCode(HttpStatus.OK) + public getHealth() { + return { status: StatusCodes.OK }; + } + @Get('data-enhancer/:name') public async getHealthOfDataEnhancer(@Param('name') name: string) { const hasResponse =