1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 18:37:41 +02:00

update to aw beta 9

This commit is contained in:
Rob Ede
2021-11-22 23:11:58 +00:00
parent 07deaadd7b
commit 13f8dcb717
7 changed files with 13 additions and 20 deletions

View File

@ -378,7 +378,7 @@ where
};
match result {
Ok(()) => Ok(res.map_body(|_, body| AnyBody::from_message(body))),
Ok(()) => Ok(res.map_body(|_, body| AnyBody::new_boxed(body))),
Err(error) => Ok(res.error_response(error)),
}
}