mirror of
https://github.com/actix/actix-extras.git
synced 2025-07-01 20:25:09 +02:00
Update Session::set_session to take IntoIterator (#105)
This commit is contained in:
@ -156,7 +156,7 @@ where
|
||||
Box::pin(async move {
|
||||
let state = inner.load(&req).await?;
|
||||
let value = if let Some((state, value)) = state {
|
||||
Session::set_session(state.into_iter(), &mut req);
|
||||
Session::set_session(state, &mut req);
|
||||
Some(value)
|
||||
} else {
|
||||
None
|
||||
|
Reference in New Issue
Block a user