The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(cron): avoid shadowing job id in remove_job
Steven Enamakel37a1ef0760f3
diff --git a/crates/openhuman-core/src/cron/store.rs b/crates/openhuman-core/src/cron/store.rsindex f9b5f28827..6493fa54ae 100644--- a/crates/openhuman-core/src/cron/store.rs+++ b/crates/openhuman-core/src/cron/store.rs@@ -170,8 +170,8 @@ pub fn get_job(config: &Config, job_id: &str) -> Result<CronJob> {pub fn remove_job(config: &Config, id: &str) -> Result<()> {if let Some(docs) = documents(config)? {- let id = id.to_string();- run(async move { docs.remove_job(&id).await })?;+ let owned = id.to_string();+ run(async move { docs.remove_job(&owned).await })?;println!("✅ Removed cron job {id}");return Ok(());}