diff --git a/CHANGELOG.md b/CHANGELOG.md index e063eca..3e83de6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,12 +9,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added +- logic backend components +- forms now have multiple notification + ### Changed +- switched from mongoose to typeorm, with support right now for postgres and sqlite +- colors object removed the "colors" postfix + ### Fixed +- env list in doc + ### Security +- upgraded all packages + ## [0.9.9] - 2021-02-14 ### Added diff --git a/src/service/submission/submission.notification.service.ts b/src/service/submission/submission.notification.service.ts index c31c85e..f4865f9 100644 --- a/src/service/submission/submission.notification.service.ts +++ b/src/service/submission/submission.notification.service.ts @@ -2,9 +2,9 @@ import { MailerService } from '@nestjs-modules/mailer' import { Injectable } from '@nestjs/common' import handlebars from 'handlebars' import htmlToText from 'html-to-text' +import mjml2html from 'mjml' import { PinoLogger } from 'nestjs-pino/dist' import { SubmissionEntity } from '../../entity/submission.entity' -import mjml2html from 'mjml' @Injectable() export class SubmissionNotificationService { @@ -28,7 +28,7 @@ export class SubmissionNotificationService { handlebars.compile( notification.htmlTemplate )({ - // TODO add varialbes + // TODO add variables }), { minify: true