mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Do not return update_id on IndexCreateRespnse if it's none
This commit is contained in:
@ -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>,
|
||||||
|
Reference in New Issue
Block a user