Merge branch 'integration/new-container-runtime' of github.com:Start9Labs/start-os into integration/new-container-runtime

This commit is contained in:
Aiden McClelland
2024-03-11 17:16:07 -06:00
4 changed files with 19 additions and 9 deletions

View File

@@ -340,6 +340,9 @@ async fn set_store(
.or_not_found(&package_id)?
.as_store_mut();
let mut model_value = model.de()?;
if model_value.is_null() {
model_value = json!({});
}
path.set(&mut model_value, value, true)
.with_kind(ErrorKind::ParseDbField)?;
model.ser(&model_value)