mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 05:00:06 +01: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…
x
Reference in New Issue
Block a user