diff --git a/packages/worker/src/constants/index.js b/packages/worker/src/constants/index.js index b7ac33cc28..ac0678eb2e 100644 --- a/packages/worker/src/constants/index.js +++ b/packages/worker/src/constants/index.js @@ -40,7 +40,7 @@ const TemplateBindings = { LOGO_URL: "logoUrl", STYLES: "styles", BODY: "body", - REGISTRATION_URL: "registrationUrl", + INVITE_URL: "inviteUrl", EMAIL: "email", RESET_URL: "resetUrl", USER: "user", @@ -63,7 +63,7 @@ const TemplateMetadata = { { name: "Base Format", purpose: EmailTemplatePurpose.BASE, - bindings: ["company", "registrationUrl"], + bindings: ["company", "inviteUrl"], }, { name: "Password Recovery", diff --git a/packages/worker/src/constants/templates/invitation.hbs b/packages/worker/src/constants/templates/invitation.hbs index fcaf7e7ca1..49564c7cf2 100644 --- a/packages/worker/src/constants/templates/invitation.hbs +++ b/packages/worker/src/constants/templates/invitation.hbs @@ -22,7 +22,7 @@
- Set up account + Set up account |
If you’re having trouble with the button above, copy and paste the URL below into your web browser.
-{{ registrationUrl }}
+{{ inviteUrl }}