mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +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)]
|
||||
#[serde(rename_all = "kebab-case")]
|
||||
pub struct Notification {
|
||||
id: u32,
|
||||
package_id: Option<PackageId>, // TODO change for package id newtype
|
||||
|
||||
Reference in New Issue
Block a user