Skip to content

Commit

Permalink
Merge pull request #60 from mailersend/feature/57/remove-processed-ev…
Browse files Browse the repository at this point in the history
…ents

feat: remove processed events
  • Loading branch information
Kseniya Kalesnikava authored Apr 21, 2023
2 parents 2b54cf4 + 39bddea commit b36ae6b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ func main() {
from := time.Now().Add(-24 * time.Hour).Unix()
to := time.Now().Unix()
domainID := "domain-id"
events := []string{"processed", "sent", "queued"}
events := []string{"sent", "queued"}

options := &mailersend.AnalyticsOptions{
DomainID: domainID,
Expand Down
1 change: 0 additions & 1 deletion analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ type analyticsData struct {

type analyticsStats struct {
Date string `json:"date"`
Processed int `json:"processed,omitempty"`
Queued int `json:"queued,omitempty"`
Sent int `json:"sent,omitempty"`
Delivered int `json:"delivered,omitempty"`
Expand Down
1 change: 0 additions & 1 deletion templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ type singleTemplate struct {

type templateStats struct {
Total int `json:"total"`
Processed int `json:"processed"`
Queued int `json:"queued"`
Sent int `json:"sent"`
Rejected int `json:"rejected"`
Expand Down

0 comments on commit b36ae6b

Please sign in to comment.