mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-26 09:30:27 +01:00
Lint and update
This commit is contained in:
@@ -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',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user