From 8ba85c738232b3f751f1337c61a18ae8a35b7fc4 Mon Sep 17 00:00:00 2001 From: Harrison Burt <57491488+ChillFish8@users.noreply.github.com> Date: Sat, 28 Aug 2021 13:54:23 +0100 Subject: [PATCH] add response message --- src/routes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.rs b/src/routes.rs index d344f4b4..2f5a8657 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -318,7 +318,7 @@ pub async fn delete_documents( ); } - json_response(StatusCode::OK, &()) + json_response(StatusCode::OK, "deleted any document matching term") } /// Deletes all documents.