Fix incorrect assignment of subscriber in message struct. Closes #1307.

This commit is contained in:
Kailash Nadh 2023-05-06 13:41:21 +05:30
parent e332622db9
commit be16297549

View file

@ -101,7 +101,6 @@ type CampaignMessage struct {
// Message represents a generic message to be pushed to a messenger. // Message represents a generic message to be pushed to a messenger.
type Message struct { type Message struct {
messenger.Message messenger.Message
Subscriber models.Subscriber
// Messenger is the messenger backend to use: email|postback. // Messenger is the messenger backend to use: email|postback.
Messenger string Messenger string