mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-18 08:48:32 +08:00
the route to create a dump must return a 202
This commit is contained in:
parent
c30b32e173
commit
6d837e3e07
@ -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…
Reference in New Issue
Block a user