Skip to content

Commit 39962a7

Browse files
authored
Merge pull request #851 from topcoder-platform/pm-1611_1
fix(PM-1611): Url in cancel and completion email
2 parents b793329 + f7d96b3 commit 39962a7

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
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-1650_1']
152+
only: ['develop', 'migration-setup', 'pm-1611_1']
153153
- deployProd:
154154
context : org-global
155155
filters:

src/routes/copilotOpportunity/assign.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ module.exports = [
4545
const requestData = copilotRequest.data;
4646
createEvent(emailEventType, {
4747
data: {
48-
opportunity_details_url: `${copilotPortalUrl}/opportunity`,
48+
opportunity_details_url: copilotPortalUrl,
49+
work_manager_url: config.get('workManagerUrl'),
4950
opportunity_title: requestData.opportunityTitle,
5051
user_name: user ? user.handle : "",
5152
},

src/routes/copilotOpportunity/delete.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ module.exports = [
3333
const requestData = copilotRequest.data;
3434
createEvent(emailEventType, {
3535
data: {
36-
opportunity_details_url: `${copilotPortalUrl}/opportunity`,
36+
opportunity_details_url: copilotPortalUrl,
37+
work_manager_url: config.get('workManagerUrl'),
3738
opportunity_title: requestData.opportunityTitle,
3839
user_name: user ? user.handle : "",
3940
},

0 commit comments

Comments
 (0)