diff --git a/meilidb-http/src/routes/synonym.rs b/meilidb-http/src/routes/synonym.rs index de45e5b86..b7d52a5a1 100644 --- a/meilidb-http/src/routes/synonym.rs +++ b/meilidb-http/src/routes/synonym.rs @@ -115,7 +115,7 @@ pub async fn create(mut ctx: Context) -> SResult { let response_body = IndexUpdateResponse { update_id }; Ok(tide::response::json(response_body) - .with_status(StatusCode::CREATED) + .with_status(StatusCode::ACCEPTED) .into_response()) }