mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
the route to create a dump must return a 202
This commit is contained in:
parent
c30b32e173
commit
6d837e3e07
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ async fn create_dump(
|
|||
) -> Result<HttpResponse, ResponseError> {
|
||||
let res = data.create_dump().await?;
|
||||
|
||||
Ok(HttpResponse::Ok().json(res))
|
||||
Ok(HttpResponse::Accepted().json(res))
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue