Skip to content

Commit

Permalink
Merge pull request #56 from starknet-id/fix/get_unsubscribed_domains
Browse files Browse the repository at this point in the history
fix: improve get_non_subscribed_domains speed
  • Loading branch information
Th0rgal authored Jan 3, 2024
2 parents 94819c6 + e49b2d0 commit fe19221
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/endpoints/renewal/get_non_subscribed_domains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ pub async fn handler(
"$$local_id"
]
},
"_cursor.to": null
"root": true,
"_cursor.to": null,
}
}
],
Expand All @@ -78,7 +79,8 @@ pub async fn handler(
"$match": doc! {
"$expr": doc! {
"$eq": ["$domain", "$$domain_name"]
}
},
"_cursor.to": null
}
}
],
Expand Down

0 comments on commit fe19221

Please sign in to comment.