mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Change HTTP status of update index route
This commit is contained in:
parent
8c8040884e
commit
e531ff2e98
@ -267,7 +267,7 @@ pub async fn update_index(mut ctx: Context<Data>) -> SResult<Response> {
|
||||
};
|
||||
|
||||
Ok(tide::response::json(response_body)
|
||||
.with_status(StatusCode::ACCEPTED)
|
||||
.with_status(StatusCode::OK)
|
||||
.into_response())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user