mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-12 06:24:29 +01:00
Use POST instead of DELETE method to delete stops-word
This commit is contained in:
parent
c616ce99a8
commit
075f4034d9
@ -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…
x
Reference in New Issue
Block a user