Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(storage): adjust scope cloning in flow import

Steven Enamakeleb1cd483f271
diff --git a/crates/openhuman-core/src/storage/import/tinyflows.rs b/crates/openhuman-core/src/storage/import/tinyflows.rs
index 0e2050a2f1..bdda9fa238 100644
--- a/crates/openhuman-core/src/storage/import/tinyflows.rs
+++ b/crates/openhuman-core/src/storage/import/tinyflows.rs
@@ -435,7 +435,7 @@ fn import_flows_after_migration(
}
let dir = dir.clone();
let backend = import_state::backend_with_condition(Arc::clone(backend), condition.clone());
- let scope = scope.clone();
+ let scope = (*scope).clone();
let config = config.clone();
let totals = Arc::new(Mutex::new(ImportTotals::default()));
crate::storage::block_on_anyhow(async move {