mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 06:44:27 +01:00
Merge pull request #381 from curquiza/update-index-httpstatus
Change HTTP status of update index route
This commit is contained in:
commit
225f5a172d
@ -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