From 29d60587a87f91cd53855e4be8aa201ba09d4f66 Mon Sep 17 00:00:00 2001 From: dw-0 Date: Fri, 25 Oct 2024 09:04:26 +0200 Subject: [PATCH] refactor: return reasonPhrase instead of plain status code Signed-off-by: Dominik Willner --- apps/api/src/app/health/health.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/health/health.controller.ts b/apps/api/src/app/health/health.controller.ts index 717988ebc..62ee20419 100644 --- a/apps/api/src/app/health/health.controller.ts +++ b/apps/api/src/app/health/health.controller.ts @@ -21,7 +21,7 @@ export class HealthController { @Get() @HttpCode(HttpStatus.OK) public getHealth() { - return { status: StatusCodes.OK }; + return { status: getReasonPhrase(StatusCodes.OK) }; } @Get('data-enhancer/:name')