mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Replace underscores with hyphens in doc link to error code
This commit is contained in:
parent
db7eaf23f4
commit
2d74678b51
28 changed files with 174 additions and 159 deletions
|
@ -98,7 +98,7 @@ async fn error_update_existing_primary_key() {
|
|||
"message": "Index already has a primary key: `id`.",
|
||||
"code": "index_primary_key_already_exists",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#index_primary_key_already_exists"
|
||||
"link": "https://docs.meilisearch.com/errors#index-primary-key-already-exists"
|
||||
});
|
||||
|
||||
assert_eq!(response["error"], expected_response);
|
||||
|
@ -117,7 +117,7 @@ async fn error_update_unexisting_index() {
|
|||
"message": "Index `test` not found.",
|
||||
"code": "index_not_found",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#index_not_found"
|
||||
"link": "https://docs.meilisearch.com/errors#index-not-found"
|
||||
});
|
||||
|
||||
assert_eq!(response["error"], expected_response);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue