Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #659 from SciCatProject/email_policy
Browse files Browse the repository at this point in the history
Fix condition of email policy concat on retrieve
  • Loading branch information
stephan271 authored May 12, 2022
2 parents d97eb14 + cfeb16a commit d1d06d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/boot/handleJobSideEffects.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ module.exports = (app) => {
break;
case jobTypes.RETRIEVE: {
const { retrieveEmailNotification, retrieveEmailsToBeNotified } = policy;
if (retrieveEmailNotification) {
if (retrieveEmailsToBeNotified) {
to += "," + retrieveEmailsToBeNotified.join();
}
// Always notify at failure
Expand Down

0 comments on commit d1d06d2

Please sign in to comment.