Skip to content

Commit

Permalink
Add session cohort to payload
Browse files Browse the repository at this point in the history
  • Loading branch information
harveysanders committed Nov 29, 2023
1 parent d58b442 commit 6494ea4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snapmail.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type Payload struct {
Email string `json:"email"`
NameFirst string `json:"nameFirst"`
NameLast string `json:"nameLast"`
SessionCohort string `json:"sessionCohort"`
SessionID string `json:"sessionId"`
StartDateTime time.Time `json:"startDateTime,omitempty"`
Mobile string `json:"mobile"`
Expand Down Expand Up @@ -66,6 +67,7 @@ func (sm *SnapMail) run(ctx context.Context, signup Signup) error {
NameFirst: signup.NameFirst,
NameLast: signup.NameLast,
SessionID: signup.SessionID,
SessionCohort: signup.Cohort,
StartDateTime: signup.StartDateTime,
Mobile: signup.Cell,
},
Expand Down

0 comments on commit 6494ea4

Please sign in to comment.