mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-05 04:28:55 +01:00
Update the /indexes/{indexUid}/settings verb from POST to PATCH
This commit is contained in:
parent
bb405aa729
commit
f8d3f739ad
@ -271,7 +271,7 @@ macro_rules! generate_configure {
|
||||
use crate::extractors::sequential_extractor::SeqHandler;
|
||||
cfg.service(
|
||||
web::resource("")
|
||||
.route(web::post().to(SeqHandler(update_all)))
|
||||
.route(web::patch().to(SeqHandler(update_all)))
|
||||
.route(web::get().to(SeqHandler(get_all)))
|
||||
.route(web::delete().to(SeqHandler(delete_all))))
|
||||
$(.service($mod::resources()))*;
|
||||
|
Loading…
Reference in New Issue
Block a user