From 317c0974f8baff5993bbe20ca17d0da41d95807a Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Thu, 21 Aug 2025 00:13:03 +0200 Subject: [PATCH 1/3] fix: url in cancel and completed email template --- src/routes/copilotOpportunity/assign.js | 2 +- src/routes/copilotOpportunity/delete.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/copilotOpportunity/assign.js b/src/routes/copilotOpportunity/assign.js index 0756491a..89b17f34 100644 --- a/src/routes/copilotOpportunity/assign.js +++ b/src/routes/copilotOpportunity/assign.js @@ -45,7 +45,7 @@ module.exports = [ const requestData = copilotRequest.data; createEvent(emailEventType, { data: { - opportunity_details_url: `${copilotPortalUrl}/opportunity`, + opportunity_details_url: copilotPortalUrl, 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..5c42cb4e 100644 --- a/src/routes/copilotOpportunity/delete.js +++ b/src/routes/copilotOpportunity/delete.js @@ -33,7 +33,7 @@ module.exports = [ const requestData = copilotRequest.data; createEvent(emailEventType, { data: { - opportunity_details_url: `${copilotPortalUrl}/opportunity`, + opportunity_details_url: copilotPortalUrl, opportunity_title: requestData.opportunityTitle, user_name: user ? user.handle : "", }, From fee11411fc9f88758a93db43e652b4d0569da278 Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Thu, 21 Aug 2025 00:13:28 +0200 Subject: [PATCH 2/3] fix: url in cancel and completed email template --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From f7d96b387742589916a4088d4e955d0ca64484f3 Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Thu, 21 Aug 2025 00:39:07 +0200 Subject: [PATCH 3/3] fix: url in cancel and completed email template --- src/routes/copilotOpportunity/assign.js | 1 + src/routes/copilotOpportunity/delete.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/routes/copilotOpportunity/assign.js b/src/routes/copilotOpportunity/assign.js index 89b17f34..106ca9bb 100644 --- a/src/routes/copilotOpportunity/assign.js +++ b/src/routes/copilotOpportunity/assign.js @@ -46,6 +46,7 @@ module.exports = [ createEvent(emailEventType, { data: { 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 5c42cb4e..f825d7c7 100644 --- a/src/routes/copilotOpportunity/delete.js +++ b/src/routes/copilotOpportunity/delete.js @@ -34,6 +34,7 @@ module.exports = [ createEvent(emailEventType, { data: { opportunity_details_url: copilotPortalUrl, + work_manager_url: config.get('workManagerUrl'), opportunity_title: requestData.opportunityTitle, user_name: user ? user.handle : "", },