mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +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,
|
||||
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
Block a user