Skip to content

Commit 8b1bc18

Browse files
committed
bugfix: case
1 parent d618ca7 commit 8b1bc18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/handlers/http/query.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ pub async fn get_counts(
396396
let records = json_records.into_iter().map(Value::Object).collect_vec();
397397

398398
let res = json!({
399-
"fields": vec!["start_time", "end_time", "count"],
399+
"fields": vec!["start_time", "endTime", "count"],
400400
"records": records,
401401
});
402402

@@ -410,7 +410,7 @@ pub async fn get_counts(
410410

411411
let records = body.get_bin_density().await?;
412412
let res = json!({
413-
"fields": vec!["start_time", "end_time", "count"],
413+
"fields": vec!["start_time", "endTime", "count"],
414414
"records": records,
415415
});
416416
Ok(web::Json(res))

0 commit comments

Comments
 (0)