Skip to content

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

chore(security): remove unused variable in approval store

Steven Enamakel5a0520339853
diff --git a/crates/openhuman-core/src/security/approval/store_documents.rs b/crates/openhuman-core/src/security/approval/store_documents.rs
index 43825a12cd..5708c5fbdc 100644
--- a/crates/openhuman-core/src/security/approval/store_documents.rs
+++ b/crates/openhuman-core/src/security/approval/store_documents.rs
@@ -278,7 +278,6 @@ impl Docs {
request_id: &str,
decision: ApprovalDecision,
) -> Result<Option<PendingApproval>> {
- let id = request_id.to_string();
self.decide_at(request_id, decision, Utc::now())
}