mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: use correct Request type in Actix extractor
This commit is contained in:
parent
4fa72a94fb
commit
93c893f4b3
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
})?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue