fix: use correct Request type in Actix extractor

This commit is contained in:
Greg Johnston 2024-07-30 11:57:59 -04:00
parent 4fa72a94fb
commit 93c893f4b3

View file

@ -1401,7 +1401,7 @@ where
T: actix_web::FromRequest,
<T as FromRequest>::Error: Display,
{
let req = use_context::<HttpRequest>().ok_or_else(|| {
let req = use_context::<Request>().ok_or_else(|| {
ServerFnError::new("HttpRequest should have been provided via context")
})?;