mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 13:40:31 +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;
|
use crate::extractors::sequential_extractor::SeqHandler;
|
||||||
cfg.service(
|
cfg.service(
|
||||||
web::resource("")
|
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::get().to(SeqHandler(get_all)))
|
||||||
.route(web::delete().to(SeqHandler(delete_all))))
|
.route(web::delete().to(SeqHandler(delete_all))))
|
||||||
$(.service($mod::resources()))*;
|
$(.service($mod::resources()))*;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user