Skip to content

Commit 37bd5ed

Browse files
authored
Merge pull request #818 from topcoder-platform/pm-1173_1
fix(PM-1173): Added work manager url to email data
2 parents 6f4cb68 + a26bd8f commit 37bd5ed

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ workflows:
149149
context : org-global
150150
filters:
151151
branches:
152-
only: ['develop', 'migration-setup', 'pm-1173']
152+
only: ['develop', 'migration-setup', 'pm-1173_1']
153153
- deployProd:
154154
context : org-global
155155
filters:

src/routes/copilotOpportunityApply/create.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ module.exports = [
9090
data: {
9191
user_name: subject.handle,
9292
opportunity_details_url: `${copilotPortalUrl}/opportunity/${opportunity.id}#applications`,
93+
work_manager_url: config.get('workManagerUrl'),
9394
},
9495
sendgrid_template_id: TEMPLATE_IDS.APPLY_COPILOT,
9596
recipients: [subject.email],

src/routes/copilotRequest/approveRequest.service.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ module.exports = (req, data, existingTransaction) => {
6666
data: {
6767
user_name: subject.handle,
6868
opportunity_details_url: `${copilotPortalUrl}/opportunity/${opportunity.id}`,
69+
work_manager_url: config.get('workManagerUrl'),
6970
},
7071
sendgrid_template_id: TEMPLATE_IDS.CREATE_REQUEST,
7172
recipients: [subject.email],

src/routes/projectMemberInvites/update.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const updateMemberValidations = {
2222
.valid(_.values(INVITE_STATUS))
2323
.required(),
2424
source: Joi.string()
25-
.valid(_.values(INVITE_SOURCE))
2625
.default(INVITE_SOURCE.WORK_MANAGER),
2726
})
2827
.required(),

0 commit comments

Comments
 (0)