Skip to content

Commit

Permalink
updated cookie.rs req to get_changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dowwie committed Jun 24, 2019
1 parent 382d4ca commit fa7e0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actix-session/src/cookie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa7e0fe

Please sign in to comment.