fix enum serialization (#616)

This commit is contained in:
Keagan McClelland
2021-10-07 14:14:45 -06:00
committed by Aiden McClelland
parent e9e1f1608f
commit 317e8a4c8f

View File

@@ -147,6 +147,7 @@ pub async fn create(
}
#[derive(Clone, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "kebab-case")]
pub enum NotificationLevel {
Success,
Info,