From 6b37017dfd9a8cef620b2ae5e1f0a8bff173288a Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 7 Feb 2024 14:57:53 -0500 Subject: [PATCH] fix: oops --- src/stores/keys.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stores/keys.rs b/src/stores/keys.rs index 7c0e8ac..32bfcfe 100644 --- a/src/stores/keys.rs +++ b/src/stores/keys.rs @@ -210,7 +210,6 @@ impl KeysPersistentStorage for MongoPersistentStorage { async fn get_cacao_by_identity_key(&self, identity_key: &str) -> Result { info!("get_cacao_by_identity_key"); let filter = doc! { - "identities.identity_key": identity_key, "identities.identity_key": { "$exists": true, // https://docs.aws.amazon.com/documentdb/latest/developerguide/functional-differences.html#functional-differences.sparse-index "$eq": identity_key,