Skip to content

Commit

Permalink
Merge pull request #1087 from HDRUK/build_topics_for_dar_managers
Browse files Browse the repository at this point in the history
Build topics for dar managers
  • Loading branch information
dnhdruk authored Jun 19, 2023
2 parents f8082f4 + 0294a2b commit ed5f2a8
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 ed5f2a8

Please sign in to comment.