Do not return update_id on IndexCreateRespnse if it's none

This commit is contained in:
Quentin de Quelen 2019-11-19 17:41:10 +01:00
parent e6465f4ea1
commit c94f4dff71
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ struct IndexCreateResponse {
name: String,
uid: String,
schema: Option<SchemaBody>,
#[serde(skip_serializing_if = "Option::is_none")]
update_id: Option<u64>,
created_at: DateTime<Utc>,
updated_at: DateTime<Utc>,