Lint and update

This commit is contained in:
2021-11-10 12:06:58 +01:00
parent dabdb26e9a
commit e1b4d2e1a5
118 changed files with 2477 additions and 778 deletions

View File

@@ -1,14 +1,13 @@
import { BaseMailer, MessageContract } from '@ioc:Adonis/Addons/Mail'
export default class FormConfirmation extends BaseMailer {
constructor (private name: string, private email: string) {
constructor(private name: string, private email: string) {
super()
}
/*public html = mjml(View.render('emails/confirmation_form', {
/* public html = mjml(View.render('emails/confirmation_form', {
name: this.name
})).html*/
})).html */
public prepare(message: MessageContract) {
message
@@ -18,7 +17,7 @@ export default class FormConfirmation extends BaseMailer {
.subject('Thank you for contacting !')
.htmlView('emails/confirmation_form', {
name: this.name,
url: 'https://arthurdanjou.fr'
url: 'https://arthurdanjou.fr',
})
}
}