From 097cc3399e139bfd3a908200d6390a96602a70fa Mon Sep 17 00:00:00 2001 From: Keagan McClelland Date: Thu, 7 Oct 2021 10:41:51 -0600 Subject: [PATCH] fix notification serialization types --- appmgr/src/notifications.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/appmgr/src/notifications.rs b/appmgr/src/notifications.rs index a468dcaff..d83f4a59b 100644 --- a/appmgr/src/notifications.rs +++ b/appmgr/src/notifications.rs @@ -190,6 +190,7 @@ impl fmt::Display for InvalidNotificationLevel { } } #[derive(serde::Serialize, serde::Deserialize)] +#[serde(rename_all = "kebab-case")] pub struct Notification { id: u32, package_id: Option, // TODO change for package id newtype