mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Update the /indexes/{indexUid} verb from PUT to PATCH
This commit is contained in:
parent
7e3d5ebc8e
commit
bb405aa729
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
|
|||
.service(
|
||||
web::resource("")
|
||||
.route(web::get().to(SeqHandler(get_index)))
|
||||
.route(web::put().to(SeqHandler(update_index)))
|
||||
.route(web::patch().to(SeqHandler(update_index)))
|
||||
.route(web::delete().to(SeqHandler(delete_index))),
|
||||
)
|
||||
.service(web::resource("/stats").route(web::get().to(SeqHandler(get_index_stats))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue