Skip to content

Commit

Permalink
fix: Update SlackUserGroup.user_count JSON type (#292)
Browse files Browse the repository at this point in the history
Slack send an integer, there is no need to try to parse it as a string.
  • Loading branch information
dax authored Oct 24, 2024
1 parent 35980de commit 694adb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/models/common/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ pub struct SlackUserGroup {
pub deleted_by: Option<SlackUserId>,
pub prefs: SlackUserGroupPrefs,
pub users: Option<Vec<SlackUserId>>,
#[serde_as(as = "DisplayFromStr")]
pub user_count: usize,
pub channel_count: Option<u64>,
}
Expand Down

0 comments on commit 694adb7

Please sign in to comment.