Skip to content

Commit

Permalink
chore: returns HttpStatusCode at healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ProdMoon committed Jul 30, 2024
1 parent e7250e3 commit 1b3cf8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Controllers/Api/HealthController.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Net;
using Microsoft.AspNetCore.Mvc;

namespace DliibApi.Controllers.Api;
Expand All @@ -7,8 +8,8 @@ namespace DliibApi.Controllers.Api;
public class HealthController : ControllerBase
{
[HttpGet]
public IActionResult Get()
public HttpStatusCode Get()
{
return Ok("good");
return HttpStatusCode.OK;
}
}

0 comments on commit 1b3cf8d

Please sign in to comment.