fix: Migration typo for media

This commit is contained in:
Timo Kösters
2024-09-24 23:00:37 +02:00
parent a7405cddc0
commit fea85b0894
2 changed files with 8 additions and 6 deletions

View File

@@ -359,7 +359,7 @@ async fn get_content_thumbnail(
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Width is invalid."))?,
height
.try_into()
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Width is invalid."))?,
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Height is invalid."))?,
)
.await
{