From 795497a5e0679bbafb1c583e33601f637f5c2ddb Mon Sep 17 00:00:00 2001 From: Jo Humphrey <31373245+jamdelion@users.noreply.github.com> Date: Mon, 2 Dec 2024 12:52:26 +0000 Subject: [PATCH] Rename url to download-application --- api.planx.uk/modules/send/email/index.ts | 2 +- editor.planx.uk/src/routes/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api.planx.uk/modules/send/email/index.ts b/api.planx.uk/modules/send/email/index.ts index 1260678fc3..c23df87e13 100644 --- a/api.planx.uk/modules/send/email/index.ts +++ b/api.planx.uk/modules/send/email/index.ts @@ -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, }, }; diff --git a/editor.planx.uk/src/routes/index.tsx b/editor.planx.uk/src/routes/index.tsx index a22ec89dac..16caadf123 100644 --- a/editor.planx.uk/src/routes/index.tsx +++ b/editor.planx.uk/src/routes/index.tsx @@ -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: , }); }),