Skip to content

Commit

Permalink
Refactor user validation struct tags (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
rezatg authored Oct 3, 2024
1 parent 92eacb4 commit 55fe578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/user/user_vali.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package user
type updateProfileValidation struct {
Name string `validate:"required,min=3,max=40"`
LastName string `validate:"required,min=3,max=40"`
Username string `validate:"required,min=4,max=20"`
Username string `validate:"min=4,max=20"`
}

0 comments on commit 55fe578

Please sign in to comment.