mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
fix enum serialization (#616)
This commit is contained in:
committed by
Aiden McClelland
parent
e9e1f1608f
commit
317e8a4c8f
@@ -147,6 +147,7 @@ pub async fn create(
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
|
#[derive(Clone, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
|
||||||
|
#[serde(rename_all = "kebab-case")]
|
||||||
pub enum NotificationLevel {
|
pub enum NotificationLevel {
|
||||||
Success,
|
Success,
|
||||||
Info,
|
Info,
|
||||||
|
|||||||
Reference in New Issue
Block a user