Do not return update_id on IndexCreateRespnse if it's none
This commit is contained in:
parent
e6465f4ea1
commit
c94f4dff71
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue