mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
fix notification serialization types
This commit is contained in:
committed by
Aiden McClelland
parent
2540bf301e
commit
097cc3399e
@@ -190,6 +190,7 @@ impl fmt::Display for InvalidNotificationLevel {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[derive(serde::Serialize, serde::Deserialize)]
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
|
#[serde(rename_all = "kebab-case")]
|
||||||
pub struct Notification {
|
pub struct Notification {
|
||||||
id: u32,
|
id: u32,
|
||||||
package_id: Option<PackageId>, // TODO change for package id newtype
|
package_id: Option<PackageId>, // TODO change for package id newtype
|
||||||
|
|||||||
Reference in New Issue
Block a user