Skip to content

Commit

Permalink
add query_type lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktaubeneck committed Dec 5, 2024
1 parent f63d16d commit 0a01488
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ipa-core/src/net/http_serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ pub mod query {
let Query(q) = req.extract().await?;
Ok(QueryType::MaliciousOprfIpa(q))
}
QueryType::MALICIOUS_HYBRID_STR => {
let Query(q) = req.extract().await?;
Ok(QueryType::MaliciousHybrid(q))
}
other => Err(Error::bad_query_value("query_type", other)),
}?;
Ok(QueryConfigQueryParams(QueryConfig {
Expand Down

0 comments on commit 0a01488

Please sign in to comment.