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?;
|
.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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue