mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Remove forgotten comment
This commit is contained in:
parent
af6d4b3031
commit
ae08fba76e
@ -127,8 +127,5 @@ where
|
|||||||
#[inline]
|
#[inline]
|
||||||
fn from_request(req: &HttpRequest, _: &mut Payload) -> Self::Future {
|
fn from_request(req: &HttpRequest, _: &mut Payload) -> Self::Future {
|
||||||
QueryParameter::from_query(req.query_string()).map(ok).unwrap_or_else(err)
|
QueryParameter::from_query(req.query_string()).map(ok).unwrap_or_else(err)
|
||||||
// serde_urlencoded::from_str::<serde_json::Value>(req.query_string())
|
|
||||||
// .map(|val| Ok(QueryParameter(val, PhantomData)))
|
|
||||||
// .unwrap_or_else(|e| err(ResponseError::from_msg(e.to_string(), Code::BadRequest)))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user