diff --git a/src/web/routes/api/webhooks/github/types.rs b/src/web/routes/api/webhooks/github/types.rs index 2e4d553..08f62bd 100644 --- a/src/web/routes/api/webhooks/github/types.rs +++ b/src/web/routes/api/webhooks/github/types.rs @@ -17,6 +17,7 @@ impl Event { pub struct Value { pub json: serde_json::Value } #[derive(Debug, Deserialize, Clone)] +#[serde(rename_all = "lowercase")] pub enum Event { CommitComment(CommitCommentEvent), Create(CreateEvent),