Skip to content

Commit

Permalink
Prevents Object from being serialized on the Event resource
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Feb 26, 2019
1 parent 83cf936 commit c9a0e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type EventRequest struct {

// EventData is the unmarshalled object as a map.
type EventData struct {
Object map[string]interface{}
Object map[string]interface{} `json:"-"`
PreviousAttributes map[string]interface{} `json:"previous_attributes"`
Raw json.RawMessage `json:"object"`
}
Expand Down

0 comments on commit c9a0e11

Please sign in to comment.