Add stop-word is now PATCH method

This commit is contained in:
Quentin de Quelen 2019-11-20 13:56:43 +01:00
parent 45ded0498b
commit cc97889b37

View File

@ -76,7 +76,7 @@ pub fn load_routes(app: &mut tide::App<Data>) {
router router
.at("/") .at("/")
.get(stop_words::list) .get(stop_words::list)
.put(stop_words::add) .patch(stop_words::add)
.delete(stop_words::delete); .delete(stop_words::delete);
}); });