Fixes. Reimplementation of the API transaction sender.

This commit is contained in:
Tomas Bures 2019-07-16 21:03:37 +05:30
parent a22187ef12
commit 8606652101
13 changed files with 350 additions and 276 deletions

View file

@ -24,7 +24,7 @@ async function processCampaignMessages(campaignId, messages) {
for (const msg of messages) {
try {
await cs.sendRegularMessage(msg.listId, msg.email);
await cs.sendRegularCampaignMessage(msg.listId, msg.email);
log.verbose('Senders', 'Message sent and status updated for %s:%s', msg.listId, msg.email);
} catch (err) {