diff --git a/ee/tabby-schema/src/schema/auth.rs b/ee/tabby-schema/src/schema/auth.rs index e6bad7dbe457..13a32f47dd05 100644 --- a/ee/tabby-schema/src/schema/auth.rs +++ b/ee/tabby-schema/src/schema/auth.rs @@ -281,11 +281,7 @@ pub struct PasswordChangeInput { #[derive(Validate)] pub struct UpdateUserNameInput { - #[validate(length( - min = 2, - code = "name", - message = "Name must be at least 2 characters" - ))] + #[validate(length(min = 2, code = "name", message = "Name must be at least 2 characters"))] #[validate(length( max = 20, code = "name",