Change HTTP status of update index route

This commit is contained in:
Clementine Urquizar 2019-12-08 17:10:21 +01:00
parent 8c8040884e
commit e531ff2e98
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}