Remove forgotten comment
This commit is contained in:
parent
af6d4b3031
commit
ae08fba76e
|
@ -127,8 +127,5 @@ where
|
|||
#[inline]
|
||||
fn from_request(req: &HttpRequest, _: &mut Payload) -> Self::Future {
|
||||
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