fix tests

This commit is contained in:
Marin Postma 2021-04-15 19:54:25 +02:00
parent ee675eadf1
commit c78f351300
No known key found for this signature in database
GPG key ID: D5241F0C0C865F30
3 changed files with 82 additions and 7 deletions

View file

@ -68,6 +68,7 @@ pub struct IndexSettings {
}
#[derive(Serialize)]
#[serde(rename_all = "camelCase")]
pub struct IndexStats {
#[serde(skip)]
pub size: u64,
@ -83,6 +84,7 @@ pub struct IndexController {
}
#[derive(Serialize)]
#[serde(rename_all = "camelCase")]
pub struct Stats {
pub database_size: u64,
pub last_update: Option<DateTime<Utc>>,