Use POST instead of DELETE method to delete stops-word

This commit is contained in:
Clementine Urquizar 2019-12-05 18:07:56 +01:00
parent c616ce99a8
commit 075f4034d9

View File

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