remove another unnecessary unwrap/expect
Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
@@ -51,7 +51,7 @@ pub async fn create_content_route(
|
|||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
Ok(create_content::v3::Response {
|
Ok(create_content::v3::Response {
|
||||||
content_uri: mxc.try_into().expect("Invalid mxc:// URI"),
|
content_uri: mxc.try_into()?,
|
||||||
blurhash: None,
|
blurhash: None,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user