diff --git a/services/tunnelbroker/src/notifs/web_push/config.rs b/services/tunnelbroker/src/notifs/web_push/config.rs index e3122cbbe..d05a23455 100644 --- a/services/tunnelbroker/src/notifs/web_push/config.rs +++ b/services/tunnelbroker/src/notifs/web_push/config.rs @@ -1,15 +1,16 @@ use serde::{Deserialize, Serialize}; use std::str::FromStr; #[derive(clap::Args, Clone, Debug, Deserialize, Serialize)] +#[serde(rename_all = "camelCase")] pub struct WebPushConfig { pub public_key: String, pub private_key: String, } impl FromStr for WebPushConfig { type Err = serde_json::Error; fn from_str(s: &str) -> Result { serde_json::from_str(s) } }