Skip to content

Commit 9355779

Browse files
committed
percentile fix
1 parent 3e5c7eb commit 9355779

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commands/points.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const POINTS_API_BASE_URL: &str =
88
#[derive(Debug, serde::Deserialize)]
99
pub struct PointsRes {
1010
/// Indicates in which top percentile your points are.
11-
pub percentile: u32,
11+
///
12+
/// TODO: fix this in new API
13+
pub percentile: String,
1214
/// The total number of points you have accumulated.
1315
pub score: f64,
1416
}

0 commit comments

Comments
 (0)