Skip to content

Commit

Permalink
fix: max length file secret
Browse files Browse the repository at this point in the history
  • Loading branch information
thejurysays committed Feb 29, 2024
1 parent 8df5a30 commit da14ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/utils/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type UserInputValidaton struct {
ClientTimeOutinSeconds int `validate:"gte=1,lte=300"`
Separator string `validate:"required,min=1,max=1"`
VerifyCa bool `validate:"required"`
MaxFileSecretSizeBytes int `validate:"gte=1,lte=5000"`
MaxFileSecretSizeBytes int `validate:"gte=1,lte=5000000"`
}

var validate *validator.Validate
Expand Down

0 comments on commit da14ab5

Please sign in to comment.