Add title

This commit is contained in:
SachaG 2017-04-12 10:02:30 +09:00
parent b41102630f
commit e48a94598d

View file

@ -40,6 +40,7 @@ Newsletters.sendy = {
from_name: fromName, from_name: fromName,
from_email: fromEmail, from_email: fromEmail,
reply_to: replyTo, reply_to: replyTo,
title: subject,
subject: subject, subject: subject,
plain_text: text, plain_text: text,
html_text: html, html_text: html,
@ -48,7 +49,7 @@ Newsletters.sendy = {
}; };
console.log(params); console.log(params);
SendyAPI.createCampaign(params, function(err,result){ SendyAPI.createCampaign(params, function(err,result){
if (err) { if (err) {
console.log('// Sendy error') console.log('// Sendy error')