Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix: serialize EventType to lowercase
Lars Wirzenius committed 2 years ago
commit eac7f53dffc191e77c0d1b45002b8f6ba7a2812b
parent 6260b8117ea727c2c4f9656e4febe49b526d0a9c
1 file changed +1 -0
modified src/msg.rs
@@ -348,6 +348,7 @@ impl fmt::Display for Request {

/// Type of event.
#[derive(Debug, Clone, Copy, Eq, PartialEq, Serialize, Deserialize)]
+
#[serde(rename_all = "lowercase")]
pub enum EventType {
    /// A push event to a branch.
    Push,