[bug] fix mailer missing full paragraph

This commit is contained in:
Andrea Vos 2023-01-29 22:25:18 +01:00
parent 836b21dc15
commit fe1fad6f0f

View File

@ -39,7 +39,7 @@ const _findTranslation = (translations, key) => {
const violations = findTranslation('terms.content.content.violationsExamples');
delete violations['miscellaneous'];
const terms = Object.values(violations).join(', ');
const terms = findTranslation('terms.content.content.violations') + ' ' + Object.values(violations).join(', ');
const templates = {