fix obvious copy-paste error
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
982eec178b
commit
f275a0dfbe
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue