Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit e030b7e

Browse files
committed
SendWelcomeEmail is now async to match async job
1 parent 9dc3031 commit e030b7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/mailer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { IUser } from '../interfaces/IUser';
55
export default class MailerService {
66
constructor(
77
@Inject('emailClient') private emailClient
8-
) {}
8+
) { }
99

10-
public SendWelcomeEmail(email) {
10+
public async SendWelcomeEmail(email) {
1111
/**
1212
* @TODO Call Mailchimp/Sendgrid or whatever
1313
*/

0 commit comments

Comments
 (0)