Skip to content

Commit e057fdf

Browse files
HTGAzureX1212Erk-
andauthored
chore: apply suggestion
Co-authored-by: Erk <[email protected]>
1 parent eed1614 commit e057fdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

twilight-model/src/gateway/payload/incoming/rate_limited.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub struct RateLimited {
1616
pub enum RateLimitMetadata {
1717
RequestGuildMembers {
1818
guild_id: Id<GuildMarker>,
19+
#[serde(skip_serializing_if = "Option::is_none")]
1920
nonce: Option<String>,
2021
},
2122
}

0 commit comments

Comments
 (0)