Skip to content

Commit 317c097

Browse files
committed
fix: url in cancel and completed email template
1 parent b793329 commit 317c097

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/copilotOpportunity/assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = [
4545
const requestData = copilotRequest.data;
4646
createEvent(emailEventType, {
4747
data: {
48-
opportunity_details_url: `${copilotPortalUrl}/opportunity`,
48+
opportunity_details_url: copilotPortalUrl,
4949
opportunity_title: requestData.opportunityTitle,
5050
user_name: user ? user.handle : "",
5151
},

src/routes/copilotOpportunity/delete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = [
3333
const requestData = copilotRequest.data;
3434
createEvent(emailEventType, {
3535
data: {
36-
opportunity_details_url: `${copilotPortalUrl}/opportunity`,
36+
opportunity_details_url: copilotPortalUrl,
3737
opportunity_title: requestData.opportunityTitle,
3838
user_name: user ? user.handle : "",
3939
},

0 commit comments

Comments
 (0)