diff --git a/.circleci/config.yml b/.circleci/config.yml index 4c95c5d7..763508b1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -149,7 +149,7 @@ workflows: context : org-global filters: branches: - only: ['develop', 'migration-setup', 'pm-1650_1'] + only: ['develop', 'migration-setup', 'pm-1611_1'] - deployProd: context : org-global filters: diff --git a/src/routes/copilotOpportunity/assign.js b/src/routes/copilotOpportunity/assign.js index 0756491a..106ca9bb 100644 --- a/src/routes/copilotOpportunity/assign.js +++ b/src/routes/copilotOpportunity/assign.js @@ -45,7 +45,8 @@ module.exports = [ const requestData = copilotRequest.data; createEvent(emailEventType, { data: { - opportunity_details_url: `${copilotPortalUrl}/opportunity`, + opportunity_details_url: copilotPortalUrl, + work_manager_url: config.get('workManagerUrl'), opportunity_title: requestData.opportunityTitle, user_name: user ? user.handle : "", }, diff --git a/src/routes/copilotOpportunity/delete.js b/src/routes/copilotOpportunity/delete.js index 90ff830c..f825d7c7 100644 --- a/src/routes/copilotOpportunity/delete.js +++ b/src/routes/copilotOpportunity/delete.js @@ -33,7 +33,8 @@ module.exports = [ const requestData = copilotRequest.data; createEvent(emailEventType, { data: { - opportunity_details_url: `${copilotPortalUrl}/opportunity`, + opportunity_details_url: copilotPortalUrl, + work_manager_url: config.get('workManagerUrl'), opportunity_title: requestData.opportunityTitle, user_name: user ? user.handle : "", },