Updated README and fixed a TMDB parsing bug for movie details

This commit is contained in:
Dark-Alex-17 committed 2023-08-08 10:50:04 -06:00
1 parent a304367e0e
commit 2cb4cd3eee
13 files changed
+111 -6

No files matched your search

+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()
}