From e531ff2e985f3dabc613af6e2c5d25912fe45115 Mon Sep 17 00:00:00 2001 From: Clementine Urquizar Date: Sun, 8 Dec 2019 17:10:21 +0100 Subject: [PATCH] Change HTTP status of update index route --- meilisearch-http/src/routes/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/routes/index.rs b/meilisearch-http/src/routes/index.rs index 6655a9c6d..3df71cc76 100644 --- a/meilisearch-http/src/routes/index.rs +++ b/meilisearch-http/src/routes/index.rs @@ -267,7 +267,7 @@ pub async fn update_index(mut ctx: Context) -> SResult { }; Ok(tide::response::json(response_body) - .with_status(StatusCode::ACCEPTED) + .with_status(StatusCode::OK) .into_response()) }