WIP: 6367-blankNotification #1903
|
@ -49,7 +49,6 @@ module.exports = Self => {
|
||||||
}]
|
}]
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
||||||
console.log('notificationQueue: ', notificationQueue);
|
|
||||||
const statusSent = 'sent';
|
const statusSent = 'sent';
|
||||||
|
|
||||||
for (const queue of notificationQueue) {
|
for (const queue of notificationQueue) {
|
||||||
|
|
|
@ -95,8 +95,6 @@ class Component {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
const fullPath = path.resolve(__dirname, this.path);
|
const fullPath = path.resolve(__dirname, this.path);
|
||||||
console.log('this.path: ', this.path);
|
|
||||||
console.log('fullPath: ', fullPath);
|
|
||||||
if (!fs.existsSync(fullPath))
|
if (!fs.existsSync(fullPath))
|
||||||
throw new Error(`Template "${this.name}" not found`);
|
throw new Error(`Template "${this.name}" not found`);
|
||||||
|
|
||||||
|
|
|
@ -78,8 +78,6 @@ class Email extends Component {
|
||||||
for (let attachment of options.attachments)
|
for (let attachment of options.attachments)
|
||||||
attachments.push(attachment);
|
attachments.push(attachment);
|
||||||
}
|
}
|
||||||
console.log(typeof this.args);
|
|
||||||
console.log(this.args?.subject);
|
|
||||||
const localeSubject = await this.getSubject();
|
const localeSubject = await this.getSubject();
|
||||||
const mailOptions = {
|
const mailOptions = {
|
||||||
to: this.args.recipient,
|
to: this.args.recipient,
|
||||||
|
|
Loading…
Reference in New Issue