Make APIError public
This commit is contained in:
parent
8506121986
commit
6cc5a4d140
@ -51,8 +51,8 @@ pub fn guild_leaderboard() -> Result<Top100Guilds, Error> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
struct APIError {
|
pub struct APIError {
|
||||||
error: String
|
pub error: String
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
|
Loading…
Reference in New Issue
Block a user