diff --git a/internal/service/user/user_vali.go b/internal/service/user/user_vali.go index ae66d2b..5bad40c 100644 --- a/internal/service/user/user_vali.go +++ b/internal/service/user/user_vali.go @@ -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"` }