Upgrade ruma

This commit is contained in:
Jonas Platte
2021-04-23 18:45:06 +02:00
committed by Timo Kösters
parent e72fd44bb5
commit d8b484beed
6 changed files with 2915 additions and 12 deletions

View File

@@ -316,7 +316,7 @@ where
fn respond_to(self, _: &'r Request<'_>) -> response::Result<'o> {
let http_response = self
.0
.try_into_http_response()
.try_into_http_response::<Vec<u8>>()
.map_err(|_| Status::InternalServerError)?;
let mut response = rocket::response::Response::build();