Allow specifying no metrics on /graph/data

This commit is contained in:
Joscha 2023-08-16 03:37:19 +02:00
parent 6050415fce
commit 2ba14d25be

View file

@ -136,6 +136,7 @@ pub async fn get_graph(
#[derive(Deserialize)]
pub struct QueryGraphData {
#[serde(default)]
metric: Vec<String>,
}