diff --git a/package-lock.json b/package-lock.json index adf56796..b61d7055 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "alkemio-notifications", - "version": "0.4.4", + "version": "0.4.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "alkemio-notifications", - "version": "0.4.4", + "version": "0.4.5", "license": "EUPL-1.2", "dependencies": { "@alkemio/client-lib": "^0.10.4", diff --git a/package.json b/package.json index 6e11d622..6b270495 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "alkemio-notifications", - "version": "0.4.4", + "version": "0.4.5", "description": "Alkemio notifications service", "author": "Cherrytwist Foundation", "private": false, diff --git a/src/app.controller.ts b/src/app.controller.ts index 87d5186a..4779e8a8 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -125,8 +125,7 @@ export class AppController { this.logger.verbose?.('All messages failed to be sent!'); // if all messages failed to be sent, we reject the message but we make sure the message is // not discarded so we provide 'true' to requeue parameter - channel.nack(originalMsg, false, false); - // channel.reject(originalMsg, true); + channel.reject(originalMsg, true); } else { this.logger.verbose?.( `${nacked.length} messages out of total ${x.length} messages failed to be sent!` diff --git a/src/templates/_layouts/email-transactional.html b/src/templates/_layouts/email-transactional.html index b0a19ee8..7773bd4b 100644 --- a/src/templates/_layouts/email-transactional.html +++ b/src/templates/_layouts/email-transactional.html @@ -356,4 +356,4 @@ - + \ No newline at end of file diff --git a/src/templates/communication.discussion.created.admin.js b/src/templates/communication.discussion.created.admin.js index b59fc4a8..b89dd94a 100644 --- a/src/templates/communication.discussion.created.admin.js +++ b/src/templates/communication.discussion.created.admin.js @@ -18,7 +18,6 @@ module.exports = () => ({ A new discussion was created by {{createdBy.firstname}} on {{community.name}}: {{discussion.title}}

Sincerely yours, - Team Alkemio {% endblock %} ${templates.footerBlock}`, }, diff --git a/src/templates/communication.discussion.created.member.js b/src/templates/communication.discussion.created.member.js index 32bcf33d..c79c6b51 100644 --- a/src/templates/communication.discussion.created.member.js +++ b/src/templates/communication.discussion.created.member.js @@ -18,7 +18,6 @@ module.exports = () => ({ A new discussion was created by {{createdBy.firstname}} on your community {{community.name}}: {{discussion.title}}

Sincerely yours, - Team Alkemio {% endblock %} ${templates.footerBlock}`, }, diff --git a/src/templates/communication.update.admin.js b/src/templates/communication.update.admin.js index 95a4eab2..316c614c 100644 --- a/src/templates/communication.update.admin.js +++ b/src/templates/communication.update.admin.js @@ -17,7 +17,6 @@ module.exports = () => ({ A new update was shared by {{sender.firstname}} on the following community: {{community.name}}.

Sincerely yours, - Team Alkemio {% endblock %} ${templates.footerBlock}`, diff --git a/src/templates/communication.update.member.js b/src/templates/communication.update.member.js index e070808e..b89a3396 100644 --- a/src/templates/communication.update.member.js +++ b/src/templates/communication.update.member.js @@ -18,7 +18,6 @@ module.exports = () => ({ To view the update please navigate to {{community.name}}.

Sincerely yours, - Team Alkemio {% endblock %} ${templates.footerBlock}`, diff --git a/src/templates/user.application.admin.js b/src/templates/user.application.admin.js index 14f2bc87..a7f97fc8 100644 --- a/src/templates/user.application.admin.js +++ b/src/templates/user.application.admin.js @@ -18,7 +18,6 @@ module.exports = () => ({ The profile of the new applicant is available here.

Sincerely yours, - Team Alkemio {% endblock %} ${templates.footerBlock}`, }, diff --git a/src/templates/user.application.applicant.js b/src/templates/user.application.applicant.js index 7b537c31..a1d43fef 100644 --- a/src/templates/user.application.applicant.js +++ b/src/templates/user.application.applicant.js @@ -16,7 +16,6 @@ module.exports = () => ({ We have received your application for {{community.name}} [{{community.type}}]!

Please view the status of your application on your profile.

Sincerely yours, - Team Alkemio {% endblock %} ${templates.footerBlock}`, }, diff --git a/src/templates/user.registration.admin.js b/src/templates/user.registration.admin.js index 0ca190b5..304826f2 100644 --- a/src/templates/user.registration.admin.js +++ b/src/templates/user.registration.admin.js @@ -17,7 +17,6 @@ module.exports = () => ({ There is a new user registration : {{registrant.name}}, with email {{registrant.email}}

Sincerely yours, - Team Alkemio {% endblock %} ${templates.footerBlock}`, }, diff --git a/src/templates/user.registration.registrant.js b/src/templates/user.registration.registrant.js index 4b54322f..fb7d85b9 100644 --- a/src/templates/user.registration.registrant.js +++ b/src/templates/user.registration.registrant.js @@ -25,7 +25,6 @@ module.exports = () => ({ Looking forward to seeing your interactions and contributions! Sincerely yours, - Team Alkemio {% endblock %} ${templates.footerBlock}`, },