tango-app-api-analysis-traffic 3.1.0-alpha.7 → 3.1.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1151,6 +1151,7 @@ async function emailerSendEmail( storeData, clientData, lamdaMetrics, lamdaChart
|
|
|
1151
1151
|
const template = Handlebars.compile( templateHtml );
|
|
1152
1152
|
console.log( 'JSON.parse( process.env.URL ).apiDomain', JSON.parse( process.env.URL ).apiDomain );
|
|
1153
1153
|
const html = template( { data: {
|
|
1154
|
+
// email: inputData.email,
|
|
1154
1155
|
clientName: clientData.clientName,
|
|
1155
1156
|
domain: JSON.parse( process.env.URL ).domain,
|
|
1156
1157
|
overallChartImage: lamdaCharts.dailyData,
|
|
@@ -1188,9 +1189,9 @@ async function emailerSendEmail( storeData, clientData, lamdaMetrics, lamdaChart
|
|
|
1188
1189
|
|
|
1189
1190
|
const subject = `Footfall Trend Report for ${clientData.clientName}`;
|
|
1190
1191
|
const ses = JSON.parse( process.env.SES );
|
|
1191
|
-
|
|
1192
|
+
// templateData.userEmail
|
|
1192
1193
|
await sendEmailWithSES(
|
|
1193
|
-
'
|
|
1194
|
+
'keerthivasan@tangotech.co.in',
|
|
1194
1195
|
subject,
|
|
1195
1196
|
html,
|
|
1196
1197
|
{
|
|
@@ -1200,7 +1201,7 @@ async function emailerSendEmail( storeData, clientData, lamdaMetrics, lamdaChart
|
|
|
1200
1201
|
},
|
|
1201
1202
|
ses.adminEmail,
|
|
1202
1203
|
);
|
|
1203
|
-
|
|
1204
|
+
// return res.sendSuccess( { result: 'EMAIL-SENT' } );
|
|
1204
1205
|
return true;
|
|
1205
1206
|
} catch ( error ) {
|
|
1206
1207
|
console.error( 'Error in emailerSendEmail:', error );
|