From 6211e51d28f46ec673f0da2ee658bf6df6be49b3 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Fri, 24 Apr 2026 10:51:25 -0300 Subject: [PATCH] Fix: Remove invalid DriveConfig::from_vault() call - DriveConfig::default() already loads from Vault - No need for separate from_vault() method - CI should compile now --- botserver/src/core/config.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/botserver/src/core/config.rs b/botserver/src/core/config.rs index 6e62b2f8..4a535e12 100644 --- a/botserver/src/core/config.rs +++ b/botserver/src/core/config.rs @@ -84,8 +84,7 @@ impl Default for AppConfig { .unwrap_or_else(|_| "postgresql://postgres:postgres@localhost/botserver".to_string()), max_connections: 10, }, - drive: DriveConfig::from_vault() - .unwrap_or_else(|_| DriveConfig::default()), + drive: DriveConfig::default(), email: EmailConfig::default(), site_path: std::env::var("SITE_PATH") .unwrap_or_else(|_| "/opt/gbo/data".to_string()), @@ -124,8 +123,7 @@ pub fn from_env() -> Result> { .unwrap_or_else(|_| "postgresql://postgres:postgres@localhost/botserver".to_string()), max_connections: 10, }, - drive: DriveConfig::from_vault() - .unwrap_or_else(|_| DriveConfig::default()), + drive: DriveConfig::default(), email: EmailConfig::default(), site_path: std::env::var("SITE_PATH") .unwrap_or_else(|_| "/opt/gbo/data".to_string()),