Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored and darknight committed May 16, 2024
1 parent b8aff31 commit b5589f2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ee/tabby-schema/src/schema/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b5589f2

Please sign in to comment.