Skip to content

Commit

Permalink
Merge pull request #5 from gatinhodev/fix-erros
Browse files Browse the repository at this point in the history
Update api.go
  • Loading branch information
dennersousa authored Feb 11, 2024
2 parents 9965463 + ce5931f commit 5ee88ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func ValidateHandler(c *gin.Context) {
if req.Type == "creditcard" {
result = struct {
ValidationResult
CreditCard CreditCardResult `json:"creditCard,omitempty"`
CreditCard CreditCardResult `json:"creditcard,omitempty"`
}{
ValidationResult: ValidationResult{
IsValid: isValid,
Expand Down

0 comments on commit 5ee88ac

Please sign in to comment.