mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
fix (de)serialization of min and max
This commit is contained in:
committed by
Aiden McClelland
parent
dca71e62d2
commit
23f39e6bf0
@@ -79,7 +79,7 @@ pub async fn list(#[context] ctx: RpcContext) -> Result<Vec<(PackageId, Version)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, serde::Deserialize, serde::Serialize)]
|
#[derive(Debug, Clone, Copy, serde::Deserialize, serde::Serialize)]
|
||||||
#[serde(rename = "kebab-case")]
|
#[serde(rename_all = "kebab-case")]
|
||||||
pub enum MinMax {
|
pub enum MinMax {
|
||||||
Min,
|
Min,
|
||||||
Max,
|
Max,
|
||||||
|
|||||||
Reference in New Issue
Block a user