use associated type for QueryConfig

This commit is contained in:
daddinuz 2019-05-09 01:46:49 +02:00
parent 938c4e28dc
commit 52175d114b
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ where
#[inline]
fn from_request(req: &HttpRequest, _: &mut Payload) -> Self::Future {
let error_handler = req
.app_data::<QueryConfig>()
.app_data::<Self::Config>()
.map(|c| c.ehandler.clone())
.unwrap_or(None);