Skip to content

Commit

Permalink
Fix smtp provider config type
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlescano committed May 26, 2018
1 parent b4e556b commit ccc8999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/email/smtp.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class EmailSmtpProvider {
id: string = 'email-smtp-provider'
transporter: Object

constructor (config: Object) {
constructor (config: Object | string) {
this.transporter = nodemailer.createTransport(config)
}

Expand Down

0 comments on commit ccc8999

Please sign in to comment.