From c94f4dff71522e8eb3158423f655a5dfc2124e02 Mon Sep 17 00:00:00 2001 From: Quentin de Quelen Date: Tue, 19 Nov 2019 17:41:10 +0100 Subject: [PATCH] Do not return update_id on IndexCreateRespnse if it's none --- meilidb-http/src/routes/index.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/meilidb-http/src/routes/index.rs b/meilidb-http/src/routes/index.rs index 540900768..af29318e4 100644 --- a/meilidb-http/src/routes/index.rs +++ b/meilidb-http/src/routes/index.rs @@ -125,6 +125,7 @@ struct IndexCreateResponse { name: String, uid: String, schema: Option, + #[serde(skip_serializing_if = "Option::is_none")] update_id: Option, created_at: DateTime, updated_at: DateTime,