Skip to content

Commit ab87b7e

Browse files
committed
fix: address review comment
1 parent ed73a79 commit ab87b7e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ members-without-zulip-id = [
8383

8484
enable-rulesets-repos = [
8585
"rust-lang/bors"
86-
]
86+
]

sync-team/src/github/api/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ pub(crate) struct RulesetBypassActor {
525525
}
526526

527527
#[derive(Clone, Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
528+
#[serde(rename_all = "snake_case")]
528529
pub(crate) enum RulesetActorType {
529530
Integration,
530531
OrganizationAdmin,
@@ -533,7 +534,7 @@ pub(crate) enum RulesetActorType {
533534
}
534535

535536
#[derive(Clone, Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
536-
#[serde(rename_all = "lowercase")]
537+
#[serde(rename_all = "snake_case")]
537538
pub(crate) enum RulesetBypassMode {
538539
Always,
539540
PullRequest,

0 commit comments

Comments
 (0)