remove another unnecessary unwrap/expect

Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
girlbossceo 2023-10-28 23:43:08 -04:00
parent 6931f4b778
commit 16c3a38761

View file

@ -51,7 +51,7 @@ pub async fn create_content_route(
.await?;
Ok(create_content::v3::Response {
content_uri: mxc.try_into().expect("Invalid mxc:// URI"),
content_uri: mxc.try_into()?,
blurhash: None,
})
}