From 6dff7d511579a459fa44277c0804006c03ff1d95 Mon Sep 17 00:00:00 2001 From: pablone Date: Thu, 28 Dec 2023 09:17:32 +0100 Subject: [PATCH] remove(console.log): refs #6367 remove consoleLog --- back/methods/notification/send.js | 1 - print/core/component.js | 2 -- print/core/email.js | 2 -- 3 files changed, 5 deletions(-) diff --git a/back/methods/notification/send.js b/back/methods/notification/send.js index 3d3842b5d..35fbc5105 100644 --- a/back/methods/notification/send.js +++ b/back/methods/notification/send.js @@ -49,7 +49,6 @@ module.exports = Self => { }] }, myOptions); - console.log('notificationQueue: ', notificationQueue); const statusSent = 'sent'; for (const queue of notificationQueue) { diff --git a/print/core/component.js b/print/core/component.js index 9f6cddfec..06ef3033a 100644 --- a/print/core/component.js +++ b/print/core/component.js @@ -95,8 +95,6 @@ class Component { build() { const fullPath = path.resolve(__dirname, this.path); - console.log('this.path: ', this.path); - console.log('fullPath: ', fullPath); if (!fs.existsSync(fullPath)) throw new Error(`Template "${this.name}" not found`); diff --git a/print/core/email.js b/print/core/email.js index fc5aff9af..e7200463a 100644 --- a/print/core/email.js +++ b/print/core/email.js @@ -78,8 +78,6 @@ class Email extends Component { for (let attachment of options.attachments) attachments.push(attachment); } - console.log(typeof this.args); - console.log(this.args?.subject); const localeSubject = await this.getSubject(); const mailOptions = { to: this.args.recipient,