its at least a functional mess

This commit is contained in:
core 2023-06-22 10:59:33 -04:00
parent e9b54f08b1
commit 8d4d2d4264
Signed by: core
GPG Key ID: FDBF740DADDCEECF
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -3633,7 +3633,7 @@ dependencies = [
[[package]] [[package]]
name = "trifid-api" name = "trifid-api"
version = "0.1.0" version = "0.1.1"
dependencies = [ dependencies = [
"actix-cors", "actix-cors",
"actix-request-identifier", "actix-request-identifier",

View File

@ -212,7 +212,7 @@ pub async fn generate_config(
value = value.get_mut(ks_k).ok_or("Invalid key-value pair")?.as_mapping_mut().unwrap(); value = value.get_mut(ks_k).ok_or("Invalid key-value pair")?.as_mapping_mut().unwrap();
} }
value.insert(Value::String(key_split[key_split.len()-1].to_string()), serde_yaml::from_str(&v)?); value.insert(Value::String(key_split[key_split.len()-1].to_string()), serde_yaml::from_str(v)?);
} }
let overrides_value = Value::Mapping(val); let overrides_value = Value::Mapping(val);