From 639e1a2e6482e2256a10edc6db02dc442a4d0b70 Mon Sep 17 00:00:00 2001 From: emreumar Date: Sat, 18 Jul 2026 19:34:24 +0300 Subject: [PATCH] fix(health): health endpoint returns 200 instead of 201 Signed-off-by: emreumar --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index dc3dff6..05ad45b 100644 --- a/app/main.py +++ b/app/main.py @@ -17,7 +17,7 @@ ) -@app.get("/health", status_code=201) +@app.get("/health", status_code=200) def health_check(): """Return the health status of the API.""" return {"status": "ok"}