@platform-x/hep-notification-client 1.2.4 → 1.2.5
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.
|
@@ -229,7 +229,7 @@ class EmailHandler {
|
|
|
229
229
|
sendEmailWithPersonalizations(emailConfig, email_from) {
|
|
230
230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
231
231
|
logger_1.Logger.info(`EmailHandler: Reached sendEmailWithPersonalizations method with emailConfig: ${JSON.stringify(emailConfig)}`, 'sendEmailWithPersonalizations');
|
|
232
|
-
logger_1.Logger.info(`EMAIL_FROM-------> ${email_from}`, '
|
|
232
|
+
logger_1.Logger.info(`EMAIL_FROM-------> ${email_from}`, 'sendEmailWithPersonalizations');
|
|
233
233
|
const Mail = sgHelpers.classes.Mail;
|
|
234
234
|
// let email_from = isCFF ? config?.CFF_MAIL_FROM : config?.EMAIL_FROM;
|
|
235
235
|
logger_1.Logger.info('sendEmailWithPersonalizations : Email From:', JSON.stringify(email_from));
|
|
@@ -341,7 +341,7 @@ class EmailHandler {
|
|
|
341
341
|
var _a, _b;
|
|
342
342
|
try {
|
|
343
343
|
let { email_type, replacement_variables, recipients, cc_recipients, isCFF = config_1.default === null || config_1.default === void 0 ? void 0 : config_1.default.EMAIL_FROM } = reqBody;
|
|
344
|
-
logger_1.Logger.info(`EmailHandler: reached in sendPersonalizeEmailRequest with emailType: ${email_type}`, 'sendPersonalizeEmailRequest');
|
|
344
|
+
logger_1.Logger.info(`EmailHandler: reached in sendPersonalizeEmailRequest with emailType: ${email_type} and ${isCFF}`, 'sendPersonalizeEmailRequest');
|
|
345
345
|
// disable SOLR because of connectivity issue
|
|
346
346
|
logger_1.Logger.debug('Reached sendPersonalizeEmailRequest in emailHandler', 'sendPersonalizeEmailRequest');
|
|
347
347
|
let templateData = yield this.fetchEmailTemplateData(reqBody);
|