From 075f4034d90c879da1b83103698705832bf0c3ac Mon Sep 17 00:00:00 2001 From: Clementine Urquizar Date: Thu, 5 Dec 2019 18:07:56 +0100 Subject: [PATCH] Use POST instead of DELETE method to delete stops-word --- meilisearch-http/src/routes/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/routes/mod.rs b/meilisearch-http/src/routes/mod.rs index 2065ec8bd..e4165d83f 100644 --- a/meilisearch-http/src/routes/mod.rs +++ b/meilisearch-http/src/routes/mod.rs @@ -81,7 +81,7 @@ pub fn load_routes(app: &mut tide::App) { .at("/") .get(stop_words::list) .patch(stop_words::add) - .delete(stop_words::delete); + .post(stop_words::delete); }); router