From 3d525525ea4ff9fc99d42b077653b09e4e6a43d8 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Thu, 30 Jan 2020 07:09:04 -0600 Subject: [PATCH] Added campaign ID to the webhook JSON payload --- models/campaign.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/campaign.go b/models/campaign.go index 4224edc1..8ab98d56 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"`