Skip to content

Commit

Permalink
refactor(api): reorganize mailing brevo templates config
Browse files Browse the repository at this point in the history
  • Loading branch information
er-lim authored Nov 14, 2024
1 parent 43e8e3f commit a75cdb8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions api/src/shared/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,15 +276,15 @@ const configuration = (function () {
apiKey: process.env.BREVO_API_KEY,
templates: {
accountCreationTemplateId: process.env.BREVO_ACCOUNT_CREATION_TEMPLATE_ID,
organizationInvitationTemplateId: process.env.BREVO_ORGANIZATION_INVITATION_TEMPLATE_ID,
organizationInvitationScoTemplateId: process.env.BREVO_ORGANIZATION_INVITATION_SCO_TEMPLATE_ID,
accountRecoveryTemplateId: process.env.BREVO_ACCOUNT_RECOVERY_TEMPLATE_ID,
acquiredCleaResultTemplateId: process.env.BREVO_CLEA_ACQUIRED_RESULT_TEMPLATE_ID,
certificationCenterInvitationTemplateId: process.env.BREVO_CERTIFICATION_CENTER_INVITATION_TEMPLATE_ID,
passwordResetTemplateId: process.env.BREVO_PASSWORD_RESET_TEMPLATE_ID,
certificationResultTemplateId: process.env.BREVO_CERTIFICATION_RESULT_TEMPLATE_ID,
accountRecoveryTemplateId: process.env.BREVO_ACCOUNT_RECOVERY_TEMPLATE_ID,
emailVerificationCodeTemplateId: process.env.BREVO_EMAIL_VERIFICATION_CODE_TEMPLATE_ID,
cpfEmailTemplateId: process.env.BREVO_CPF_TEMPLATE_ID,
acquiredCleaResultTemplateId: process.env.BREVO_CLEA_ACQUIRED_RESULT_TEMPLATE_ID,
emailVerificationCodeTemplateId: process.env.BREVO_EMAIL_VERIFICATION_CODE_TEMPLATE_ID,
organizationInvitationTemplateId: process.env.BREVO_ORGANIZATION_INVITATION_TEMPLATE_ID,
organizationInvitationScoTemplateId: process.env.BREVO_ORGANIZATION_INVITATION_SCO_TEMPLATE_ID,
passwordResetTemplateId: process.env.BREVO_PASSWORD_RESET_TEMPLATE_ID,
targetProfileNotCertifiableTemplateId: process.env.BREVO_TARGET_PROFILE_NOT_CERTIFIABLE_TEMPLATE_ID,
},
},
Expand Down

0 comments on commit a75cdb8

Please sign in to comment.