diff --git a/src/email/email.service.ts b/src/email/email.service.ts index d152f13b945ff996a19843b06bcdfed55cea3129..46d950df5d6a67d3487bcf24f36f496e6710144e 100644 --- a/src/email/email.service.ts +++ b/src/email/email.service.ts @@ -24,7 +24,7 @@ export class EmailService { return false; } else { // Create a communication channel - conn.createChannel((error, ch) => { + return conn.createChannel((error, ch) => { if (error != null) { Logger.log(error);