mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
feat(API-keys): Change immutable_field error message
Change the immutable_field error message to fit the recent changes in the spec:
aa0a148ee3..84a9baff68
This commit is contained in:
parent
08d72e32a4
commit
9eea142e2b
2 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ pub enum AuthControllerError {
|
|||
ApiKeyNotFound(String),
|
||||
#[error("`uid` field value `{0}` is already an existing API key.")]
|
||||
ApiKeyAlreadyExists(String),
|
||||
#[error("`{0}` field cannot be modified for the given resource.")]
|
||||
#[error("The `{0}` field cannot be modified for the given resource.")]
|
||||
ImmutableField(String),
|
||||
#[error("Internal error: {0}")]
|
||||
Internal(Box<dyn Error + Send + Sync + 'static>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue