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)]
|
||||
struct APIError {
|
||||
error: String
|
||||
pub struct APIError {
|
||||
pub error: String
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
|
Loading…
Reference in New Issue
Block a user