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

Commit cfc5268

Browse files
authored
Merge pull request #39 from Jfelix61/bugfix/job-async
SendWelcomeEmail is now async to match async job Closes #34
2 parents 9dc3031 + e030b7e commit cfc5268

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)