Skip to content

Commit

Permalink
fix: mail config
Browse files Browse the repository at this point in the history
  • Loading branch information
masb0ymas committed Apr 20, 2023
1 parent 7359178 commit e19a616
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/mail.ts
Original file line number Diff line number Diff line change
@@ -1,4 1,5 @@
import { Mail } from 'expresso-provider'
import { type MailDriverType } from 'expresso-provider/lib/mail'
import {
APP_NAME,
MAIL_DRIVER,
Expand All @@ -8,7 9,7 @@ import {
MAIL_USERNAME,
} from './env'

const mailDriver = MAIL_DRIVER as 'smtp' | 'gmail'
const mailDriver = MAIL_DRIVER as MailDriverType

export const mailService = new Mail({
appName: APP_NAME,
Expand Down

0 comments on commit e19a616

Please sign in to comment.