Return health for web3proxy

This commit is contained in:
2025-10-31 02:10:20 +07:00
parent a29e2b5a99
commit 6fea759462

View File

@@ -64,7 +64,7 @@ namespace Managing.Api.HealthChecks
// Parse checks if available
if (!isProduction && root.TryGetProperty("checks", out var checksElement))
{
// Extract Privy check
// Extract Privy cheunck
if (checksElement.TryGetProperty("privy", out var privyElement))
{
var privyData = new Dictionary<string, object>();
@@ -155,7 +155,7 @@ namespace Managing.Api.HealthChecks
}
// Extract Redis check
if (checksElement.TryGetProperty("redis", out var redisElement))
if (!isProduction && checksElement.TryGetProperty("redis", out var redisElement))
{
var redisData = new Dictionary<string, object>();
@@ -218,7 +218,7 @@ namespace Managing.Api.HealthChecks
}
// Determine overall health result based on status
if (!isProduction && status.ToLower() == "healthy")
if (status.ToLower() == "healthy")
{
return HealthCheckResult.Healthy(
"Web3Proxy is healthy",