1 parent 41f09b1 commit 58d1994Copy full SHA for 58d1994
1 file changed
02-Server/Controllers/HealthController.cs
@@ -9,7 +9,6 @@
9
// ---------------------------------------------------------------------------
10
11
using Microsoft.AspNetCore.Mvc;
12
-using System.Reflection;
13
14
namespace GroundShareAPI.Controllers
15
{
@@ -18,16 +17,6 @@ namespace GroundShareAPI.Controllers
18
17
public class HealthController : ControllerBase
19
20
[HttpGet]
21
- public IActionResult Get()
22
- {
23
- return Ok(new
24
25
- status = "ok",
26
- version = Assembly.GetExecutingAssembly()
27
- .GetCustomAttribute<AssemblyInformationalVersionAttribute>()
28
- ?.InformationalVersion ?? "unknown",
29
- timestamp = DateTime.UtcNow
30
- });
31
- }
+ public IActionResult Get() => Ok(new { status = "ok" });
32
}
33
0 commit comments