Skip to content

Commit

Permalink
Replace the rating URL in inspire
Browse files Browse the repository at this point in the history
  • Loading branch information
datajohnson committed Dec 18, 2024
1 parent 3a04349 commit 16f9d4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/src/services/email-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export class EmailService {
/``RESULTS_URL``/,
`<a href="${FRONTEND_URL}/results/${questionToken}">${FRONTEND_URL}/results/${questionToken}</a>`
);
body = body.replace(
/``RATING_URL``/,
`<a href="${FRONTEND_URL}/rating/${token}">${FRONTEND_URL}/rating/${token}</a>`
);

await this.sendEmail(recipient.fullName, recipient.email, subject, body);
}
Expand Down

0 comments on commit 16f9d4a

Please sign in to comment.