rename the invalid_geo_field error code to invalid_document_geo_field

This commit is contained in:
Tamo 2023-01-05 21:08:19 +01:00
parent 0646f63404
commit 97854274b4
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
2 changed files with 6 additions and 4 deletions

View file

@ -272,7 +272,7 @@ impl From<v5::ResponseError> for v6::ResponseError {
"database_size_limit_reached" => v6::Code::DatabaseSizeLimitReached,
"document_not_found" => v6::Code::DocumentNotFound,
"internal" => v6::Code::Internal,
"invalid_geo_field" => v6::Code::InvalidGeoField,
"invalid_geo_field" => v6::Code::InvalidDocumentGeoField,
"invalid_ranking_rule" => v6::Code::InvalidRankingRule,
"invalid_store_file" => v6::Code::InvalidStore,
"invalid_api_key" => v6::Code::InvalidToken,