mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Rename browse_documents into get_all_documents and always respond HTTP Ok
This commit is contained in:
parent
530738cfe9
commit
1f1cb1f501
2 changed files with 5 additions and 11 deletions
|
@ -42,7 +42,7 @@ pub fn load_routes(app: &mut tide::App<Data>) {
|
|||
router.at("/documents").nest(|router| {
|
||||
router
|
||||
.at("/")
|
||||
.get(document::browse_documents)
|
||||
.get(document::get_all_documents)
|
||||
.post(document::add_or_replace_multiple_documents)
|
||||
.put(document::add_or_update_multiple_documents)
|
||||
.delete(document::clear_all_documents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue