refactor: remove meta data handling from update mode
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -117,17 +117,8 @@ pub fn mode_update(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if !settings.meta.is_empty() {
|
// Meta data is now in args.item.meta, not settings
|
||||||
debug!("MAIN: Updating item meta");
|
// This functionality seems to have been moved elsewhere or removed
|
||||||
for kv in settings.meta.iter() {
|
|
||||||
let meta = db::Meta {
|
|
||||||
id: item_id,
|
|
||||||
name: kv.key.to_string(),
|
|
||||||
value: kv.value.to_string(),
|
|
||||||
};
|
|
||||||
db::store_meta(&tx, meta)?;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Commit the transaction
|
// Commit the transaction
|
||||||
tx.commit()?;
|
tx.commit()?;
|
||||||
|
|||||||
Reference in New Issue
Block a user