diff --git a/models/campaign.go b/models/campaign.go index bae7c65e..a0fc0395 100644 --- a/models/campaign.go +++ b/models/campaign.go @@ -75,7 +75,7 @@ type CampaignStats struct { // that occurs during the campaign type Event struct { Id int64 `json:"-"` - CampaignId int64 `json:"-"` + CampaignId int64 `json:"campaign_id"` Email string `json:"email"` Time time.Time `json:"time"` Message string `json:"message"`