diff --git a/src/Managing.Api/HealthChecks/Web3ProxyHealthCheck.cs b/src/Managing.Api/HealthChecks/Web3ProxyHealthCheck.cs index 665adb36..144402cf 100644 --- a/src/Managing.Api/HealthChecks/Web3ProxyHealthCheck.cs +++ b/src/Managing.Api/HealthChecks/Web3ProxyHealthCheck.cs @@ -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(); @@ -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(); @@ -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",