diff --git a/src/lib.rs b/src/lib.rs index 9553450..57deaf6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,8 +51,8 @@ pub fn guild_leaderboard() -> Result { } #[derive(Deserialize)] -struct APIError { - error: String +pub struct APIError { + pub error: String } #[derive(Deserialize)]