Skip to content

Commit

Permalink
Rename url to download-application
Browse files Browse the repository at this point in the history
  • Loading branch information
jamdelion committed Dec 2, 2024
1 parent db050b0 commit 795497a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api.planx.uk/modules/send/email/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const sendToEmail: SendIntegrationController = async (
serviceName: flowName,
sessionId,
applicantEmail: email,
downloadLink: `${serviceURL}/verify-email`, // redirect to verify email before download
downloadLink: `${serviceURL}/download-application`,
...teamSettings,
},
};
Expand Down
4 changes: 2 additions & 2 deletions editor.planx.uk/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const editorRoutes = mount({
}),
),

"/:team/:flow/:sessionId/verify-email": map((req) => {
"/:team/:flow/:sessionId/download-application": map((req) => {
return route({
title: makeTitle("Verify your email"),
title: makeTitle("Download application"),
view: <VerifySubmissionEmail params={req.params} />,
});
}),
Expand Down

0 comments on commit 795497a

Please sign in to comment.