Fix feature flag case sensitivity for Cloud Foundry environments

This commit is contained in:
Beverly Nguyen
2025-10-29 10:15:36 -07:00
parent 3cbdffa21e
commit f498553a49
3 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ class Config(object):
NOTIFY_SERVICE_ID = "d6aa2c68-a2d9-4437-ab19-3ae8eb202553"
ORGANIZATION_DASHBOARD_ENABLED = (
getenv("ORGANIZATION_DASHBOARD_ENABLED", "False") == "True"
getenv("ORGANIZATION_DASHBOARD_ENABLED", "false").lower() == "true"
)
NOTIFY_BILLING_DETAILS = json.loads(getenv("NOTIFY_BILLING_DETAILS") or "null") or {
@@ -115,7 +115,7 @@ class Development(Config):
# Feature Flags
ORGANIZATION_DASHBOARD_ENABLED = (
getenv("ORGANIZATION_DASHBOARD_ENABLED", "True") == "True"
getenv("ORGANIZATION_DASHBOARD_ENABLED", "true").lower() == "true"
)
# Buckets