From f70d8a8558181f632b1c49b0400a301675a4c536 Mon Sep 17 00:00:00 2001 From: "seonkyu.kim" Date: Tue, 10 Feb 2026 19:27:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Health=20check=20503=20=EC=9D=91?= =?UTF-8?q?=EB=8B=B5=EC=97=90=20=EC=83=81=EC=84=B8=20=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=84=B0=20=ED=8F=AC=ED=95=A8=20(#126)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- SPMS.API/Controllers/PublicController.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/SPMS.API/Controllers/PublicController.cs b/SPMS.API/Controllers/PublicController.cs index f6d16e3..28dfaea 100644 --- a/SPMS.API/Controllers/PublicController.cs +++ b/SPMS.API/Controllers/PublicController.cs @@ -73,8 +73,12 @@ public class PublicController : ControllerBase return Ok(ApiResponse.Success(checks)); } - return StatusCode(503, ApiResponse.Fail( - ErrorCodes.InternalError, - "하나 이상의 서비스에 문제가 있습니다.")); + return StatusCode(503, new ApiResponse + { + Result = false, + Code = ErrorCodes.InternalError, + Msg = "하나 이상의 서비스에 문제가 있습니다.", + Data = checks + }); } } -- 2.45.1