From 10a3afaafb9aca41432be1e805797accade1a72c Mon Sep 17 00:00:00 2001 From: Jeremie Fraeys Date: Thu, 4 Dec 2025 17:06:32 -0500 Subject: [PATCH] fix: update production environment variable check - Change FETCH_ML_ENV check from 'production' to 'prod' - Aligns with common environment naming conventions - Fixes authentication validation for production deployment --- internal/auth/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/auth/validator.go b/internal/auth/validator.go index d7da43d..3a033de 100644 --- a/internal/auth/validator.go +++ b/internal/auth/validator.go @@ -10,7 +10,7 @@ import ( // ValidateAuthConfig enforces authentication requirements func (c *AuthConfig) ValidateAuthConfig() error { // Check if we're in production environment - isProduction := os.Getenv("FETCH_ML_ENV") == "production" + isProduction := os.Getenv("FETCH_ML_ENV") == "prod" if isProduction { if !c.Enabled {