Skip to content

Commit

Permalink
Merge pull request #269 from starknet-id/fix/get_pending_claims
Browse files Browse the repository at this point in the history
fix: get_pending_claims
  • Loading branch information
Th0rgal authored Sep 22, 2024
2 parents 4f1f28a + 19dab7a commit 4063ddf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/endpoints/quest_boost/get_pending_claims.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use crate::config;
use crate::logger::Logger;
use crate::utils::to_hex;
use crate::{
models::{AppState, QuestDocument},
Expand Down Expand Up @@ -27,8 +25,7 @@ pub async fn handler(
State(state): State<Arc<AppState>>,
Query(query): Query<GetQuestsQuery>,
) -> impl IntoResponse {
let conf = config::load();
let logger = Logger::new(&conf.watchtower);
let logger = &state.logger;
let address = to_hex(query.addr);
let collection = state.db.collection::<QuestDocument>("boosts");
let pipeline = [
Expand Down

0 comments on commit 4063ddf

Please sign in to comment.