diff options
author | Mario Krehl <mario-krehl@gmx.de> | 2018-03-07 19:22:04 +0100 |
---|---|---|
committer | Mario Krehl <mario-krehl@gmx.de> | 2018-03-07 19:22:04 +0100 |
commit | 73ac23909aa093746c861025cff30d5a59fec88a (patch) | |
tree | c83079ba52768041dd051da7e4788014a9c2198a /src | |
parent | 6bb14df68bcb2f094d91f6740bee511e5055cc9b (diff) |
make the format optional, as there's no guarantee it is there (anymore); update and rebuild
Diffstat (limited to 'src')
-rw-r--r-- | src/api.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ pub struct Query { pub range: Range, #[serde(rename = "intervalMs")] pub interval_ms: i32, #[serde(rename = "maxDataPoints")] pub max_data_points: i32, - pub format: String, + pub format: Option<String>, pub targets: Vec<Target>, } |