Skip to content

Commit

Permalink
Fix dmarcPolicy typing #126 (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
nagelflorian authored and bmoffatt committed Mar 15, 2019
1 parent 44724f7 commit e12c711
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion events/ses.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type SimpleEmailReceipt struct {
SpamVerdict SimpleEmailVerdict `json:"spamVerdict"`
DKIMVerdict SimpleEmailVerdict `json:"dkimVerdict"`
DMARCVerdict SimpleEmailVerdict `json:"dmarcVerdict"`
DMARCPolicy SimpleEmailVerdict `json:"dmarcPolicy"`
DMARCPolicy string `json:"dmarcPolicy"`
SPFVerdict SimpleEmailVerdict `json:"spfVerdict"`
VirusVerdict SimpleEmailVerdict `json:"virusVerdict"`
Action SimpleEmailReceiptAction `json:"action"`
Expand Down
4 changes: 1 addition & 3 deletions events/testdata/ses-event.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@
"dmarcVerdict": {
"status": "PASS"
},
"dmarcPolicy": {
"status": "REJECT"
},
"dmarcPolicy": "reject",
"processingTimeMillis": 574,
"action": {
"type": "Lambda",
Expand Down

0 comments on commit e12c711

Please sign in to comment.