Updated README and fixed a TMDB parsing bug for movie details

This commit is contained in:
2023-08-08 10:50:04 -06:00
parent a304367e0e
commit 2cb4cd3eee
13 changed files with 111 additions and 6 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ impl<'a> Network<'a> {
let tmdb_rating = if let Some(rating) = ratings.tmdb {
if let Some(value) = rating.value.as_f64() {
format!("{}%", value * 10f64)
format!("{}%", (value * 10f64).ceil())
} else {
"".to_owned()
}