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:
ManyTheFish 2022-06-02 11:11:07 +02:00
parent 08d72e32a4
commit 9eea142e2b
2 changed files with 4 additions and 4 deletions

View file

@ -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>),