Added campaign ID to the webhook JSON payload

pull/1740/head
Jordan Wright 2020-01-30 07:09:04 -06:00
parent 0620671de6
commit 3d525525ea
1 changed files with 1 additions and 1 deletions

View File

@ -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"`