mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
make the swap indexes not found errors return an IndexNotFound error code
This commit is contained in:
parent
7322f4e78e
commit
57da80900d
3 changed files with 5 additions and 5 deletions
|
@ -844,9 +844,9 @@ async fn test_summarized_index_swap() {
|
|||
},
|
||||
"error": {
|
||||
"message": "Indexes `cattos`, `doggos` not found.",
|
||||
"code": "invalid_swap_indexes",
|
||||
"code": "index_not_found",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#invalid-swap-indexes"
|
||||
"link": "https://docs.meilisearch.com/errors#index-not-found"
|
||||
},
|
||||
"duration": "[duration]",
|
||||
"enqueuedAt": "[date]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue