mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 07:36:43 +00:00
updated cookie.rs req to get_changes
This commit is contained in:
parent
382d4ca216
commit
fa7e0fe6df
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ where
|
|||
Session::set_session(state.into_iter(), &mut req);
|
||||
|
||||
Box::new(self.service.call(req).map(move |mut res| {
|
||||
if let Some(state) = Session::get_changes(&mut res) {
|
||||
if let (_status, Some(state)) = Session::get_changes(&mut res) {
|
||||
res.checked_expr(|res| inner.set_cookie(res, state))
|
||||
} else {
|
||||
res
|
||||
|
|
Loading…
Reference in a new issue