Skip to content

Commit

Permalink
Merge pull request #1089 from HDRUK/release
Browse files Browse the repository at this point in the history
Release To Preprod Build topics for dar managers
  • Loading branch information
dnhdruk authored Jun 19, 2023
2 parents 38eb2c3 + 7e16f25 commit f42475e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v5.0.6
v5.0.7
2 changes: 1 addition & 1 deletion src/resources/topic/topic.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
process.stdout.write(`A topic cannot be created with only the creating user\n`);
return [];
}
let recipients = members.filter(mem => mem.roles.includes('manager') || mem.roles.includes('reviewer')).map(m => m.memberid);
let recipients = members.filter(mem => mem.roles.includes('manager') || mem.roles.includes('custodian.dar.manager')).map(m => m.memberid);
// 2. Return team recipients plus the user that created the message
recipients = [...recipients, createdBy];
return recipients;
Expand Down

0 comments on commit f42475e

Please sign in to comment.