remove another unnecessary unwrap/expect
Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
parent
6931f4b778
commit
16c3a38761
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue