Skip to content

Commit

Permalink
fix(rust): use camel case in websocket events
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Aug 27, 2024
1 parent 6ae69e6 commit a226fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/agama-server/src/web/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use tokio::sync::broadcast::{Receiver, Sender};
use super::common::Issue;

#[derive(Clone, Debug, Serialize)]
#[serde(tag = "type")]
#[serde(rename_all = "camelCase", tag = "type")]
pub enum Event {
L10nConfigChanged(LocaleConfig),
LocaleChanged {
Expand Down

0 comments on commit a226fec

Please sign in to comment.