Rustfmt
This commit is contained in:
parent
b0f9ebb170
commit
c7d233a44a
|
@ -107,7 +107,8 @@ where
|
||||||
|
|
||||||
async fn from_request(req: &mut RequestParts<B>) -> Result<Self, Self::Rejection> {
|
async fn from_request(req: &mut RequestParts<B>) -> Result<Self, Self::Rejection> {
|
||||||
if let (&Method::GET, uri) = (req.method(), req.uri()) {
|
if let (&Method::GET, uri) = (req.method(), req.uri()) {
|
||||||
let res = async_graphql::http::parse_query_string(uri.query().unwrap_or_default()).map_err(|err| {
|
let res = async_graphql::http::parse_query_string(uri.query().unwrap_or_default())
|
||||||
|
.map_err(|err| {
|
||||||
ParseRequestError::Io(std::io::Error::new(
|
ParseRequestError::Io(std::io::Error::new(
|
||||||
ErrorKind::Other,
|
ErrorKind::Other,
|
||||||
format!("failed to parse graphql request from uri query: {}", err),
|
format!("failed to parse graphql request from uri query: {}", err),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user