mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
Merge pull request #373 from curquiza/stop-words-deletion
Use POST instead of DELETE method to delete stops-word
This commit is contained in:
commit
5b8344cfc3
@ -81,7 +81,7 @@ pub fn load_routes(app: &mut tide::App<Data>) {
|
|||||||
.at("/")
|
.at("/")
|
||||||
.get(stop_words::list)
|
.get(stop_words::list)
|
||||||
.patch(stop_words::add)
|
.patch(stop_words::add)
|
||||||
.delete(stop_words::delete);
|
.post(stop_words::delete);
|
||||||
});
|
});
|
||||||
|
|
||||||
router
|
router
|
||||||
|
Loading…
Reference in New Issue
Block a user