its at least a functional mess
This commit is contained in:
parent
e9b54f08b1
commit
8d4d2d4264
|
@ -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",
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue