From 6d837e3e07a68ba561e25fb2986cde803b889c29 Mon Sep 17 00:00:00 2001 From: tamo Date: Tue, 11 May 2021 17:34:34 +0200 Subject: [PATCH] the route to create a dump must return a 202 --- meilisearch-http/src/routes/dump.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/routes/dump.rs b/meilisearch-http/src/routes/dump.rs index e6be4ca93..47c081e6f 100644 --- a/meilisearch-http/src/routes/dump.rs +++ b/meilisearch-http/src/routes/dump.rs @@ -17,7 +17,7 @@ async fn create_dump( ) -> Result { let res = data.create_dump().await?; - Ok(HttpResponse::Ok().json(res)) + Ok(HttpResponse::Accepted().json(res)) } #[derive(Debug, Serialize)]