1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-07-02 16:38:36 +00:00

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
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB
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
{