Skip to content
Snippets Groups Projects
Commit f275a0df authored by 🥺's avatar 🥺 :transgender_flag: Committed by 🥺
Browse files

fix obvious copy-paste error

parent 982eec17
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ pub async fn get_content_thumbnail_route(
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Width is invalid."))?,
body.height
.try_into()
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Width is invalid."))?,
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Height is invalid."))?,
)
.await?
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment