Skip to content

Commit

Permalink
fix: update validation error struct (rudderlabs#5329)
Browse files Browse the repository at this point in the history
* fix: update validation error struct

* fix: refactor
  • Loading branch information
akashrpo authored Dec 2, 2024
1 parent 38045d1 commit e4d2abf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions processor/transformer/transformer.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ type TransformerResponse struct {
}

type ValidationError struct {
Type string `json:"type"`
Message string `json:"message"`
Meta map[string]string `json:"meta"`
Type string `json:"type"`
Message string `json:"message"`
Meta map[string]string `json:"meta"`
Property string `json:"property"`
}

// Response represents a Transformer response
Expand Down

0 comments on commit e4d2abf

Please sign in to comment.