mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
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,
|
name: String,
|
||||||
uid: String,
|
uid: String,
|
||||||
schema: Option<SchemaBody>,
|
schema: Option<SchemaBody>,
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
update_id: Option<u64>,
|
update_id: Option<u64>,
|
||||||
created_at: DateTime<Utc>,
|
created_at: DateTime<Utc>,
|
||||||
updated_at: DateTime<Utc>,
|
updated_at: DateTime<Utc>,
|
||||||
|
Loading…
Reference in New Issue
Block a user