Skip to content

Commit

Permalink
api!(jsonrpc): replace EphemeralTimer tag "variant" with "kind"
Browse files Browse the repository at this point in the history
We use "kind" everywhere else.
  • Loading branch information
link2xt committed May 12, 2024
1 parent ab1583e commit edf8aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltachat-jsonrpc/src/api/types/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ impl MessageInfo {
#[derive(
Debug, PartialEq, Eq, Copy, Clone, Serialize, Deserialize, TypeDef, schemars::JsonSchema,
)]
#[serde(rename_all = "camelCase", tag = "variant")]
#[serde(rename_all = "camelCase", tag = "kind")]
pub enum EphemeralTimer {
/// Timer is disabled.
Disabled,
Expand Down

0 comments on commit edf8aaf

Please sign in to comment.