Skip to content

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

fix(profiles): correct rustfmt formatting in lease migration

Steven Enamakelcc9f8724f3af
diff --git a/crates/openhuman-core/src/profiles/storage_schema.rs b/crates/openhuman-core/src/profiles/storage_schema.rs
index d9095389f8..d7587f81fc 100644
--- a/crates/openhuman-core/src/profiles/storage_schema.rs
+++ b/crates/openhuman-core/src/profiles/storage_schema.rs
@@ -134,7 +134,10 @@ pub async fn migrate_legacy_leases(scoped: &ScopedStorage) -> Result<usize> {
}
tinystoragedrivers::primitives::ensure(scoped).await?;
let mut moved = 0;
- for legacy in docs.query_all(LEGACY_LEASE_COLLECTION, &Query::all()).await? {
+ for legacy in docs
+ .query_all(LEGACY_LEASE_COLLECTION, &Query::all())
+ .await?
+ {
let Some(body) = lease_v2(&legacy.doc) else {
log::warn!("[profiles][lease] skipping a malformed legacy lease record");
continue;