mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
replace index-new-field route to accept-new-fields; fix #503
This commit is contained in:
parent
d56968cb23
commit
f4ae0844ab
5 changed files with 296 additions and 6 deletions
|
@ -96,7 +96,7 @@ pub fn load_routes(app: &mut tide::Server<Data>) {
|
|||
.post(|ctx| into_response(setting::update_displayed(ctx)))
|
||||
.delete(|ctx| into_response(setting::delete_displayed(ctx)));
|
||||
|
||||
app.at("/indexes/:index/settings/index-new-field")
|
||||
app.at("/indexes/:index/settings/accept-new-fields")
|
||||
.get(|ctx| into_response(setting::get_accept_new_fields(ctx)))
|
||||
.post(|ctx| into_response(setting::update_accept_new_fields(ctx)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue