Merge pull request #373 from curquiza/stop-words-deletion

Use POST instead of DELETE method to delete stops-word
This commit is contained in:
Clément Renault 2019-12-05 23:06:15 +01:00 committed by GitHub
commit 5b8344cfc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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