Skip to content

Commit deaed3a

Browse files
committed
rebased from develop branch
1 parent a29f1c9 commit deaed3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/copilotRequest/approveRequest.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ module.exports = (req, data, existingTransaction) => {
5757
}))
5858
.then(async (opportunity) => {
5959
const roles = await util.getRolesByRoleName('copilot', req.log, req.id);
60-
const { subjects = [] } = await util.getRoleInfo(roles[0], req.log, req.id);
6160
req.log.info("getting subjects for roles", roles[0]);
61+
const { subjects = [] } = await util.getRoleInfo(roles[0], req.log, req.id);
6262
const emailEventType = CONNECT_NOTIFICATION_EVENT.COPILOT_OPPORTUNITY_CREATED;
6363
const copilotPortalUrl = config.get('copilotPortalUrl');
6464
req.log.info("Sending emails to all copilots about new opportunity");

0 commit comments

Comments
 (0)