Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit a654c1f

Browse files
committed
fix: rename user_id to modID in serde
In the middle of this I discovered an API bug
1 parent d2900c7 commit a654c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entities/moderator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl Debug for Feature {
4141
}
4242
#[derive(Deserialize, Serialize)]
4343
pub struct Mod {
44-
#[serde(rename = "mod_id")]
44+
#[serde(rename = "modID")]
4545
user_id: u128,
4646
#[serde(rename = "perms")]
4747
features: Vec<Feature>

0 commit comments

Comments
 (0)