From cc97889b3749e33029a97b404d5bef75ce149d30 Mon Sep 17 00:00:00 2001 From: Quentin de Quelen Date: Wed, 20 Nov 2019 13:56:43 +0100 Subject: [PATCH] Add stop-word is now PATCH method --- meilidb-http/src/routes/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilidb-http/src/routes/mod.rs b/meilidb-http/src/routes/mod.rs index 02cede3d4..dcb2b78ea 100644 --- a/meilidb-http/src/routes/mod.rs +++ b/meilidb-http/src/routes/mod.rs @@ -76,7 +76,7 @@ pub fn load_routes(app: &mut tide::App) { router .at("/") .get(stop_words::list) - .put(stop_words::add) + .patch(stop_words::add) .delete(stop_words::delete); });