From 744dbefe85308c6a11216134e176d236df5d8eec Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Mon, 9 Jul 2018 22:07:42 +1000 Subject: [PATCH] Fixed Heroku "Missing SMTP Config" --- private/email/Email.js | 1 - 1 file changed, 1 deletion(-) diff --git a/private/email/Email.js b/private/email/Email.js index c122aa7..60cdfbe 100644 --- a/private/email/Email.js +++ b/private/email/Email.js @@ -38,7 +38,6 @@ class Email { getSourceEmail() {return this.getConfig().getValueOf("smtp.source.email");} connect() { - if(!this.getConfig().getValueOf("smtp")) throw new Error("Missing SMTP Config"); if(!this.getConfig().getValueOf("smtp.host")) throw new Error("Missing SMTP Host Config"); if(!this.getConfig().getValueOf("smtp.username")) throw new Error("Missing SMTP Username Config"); if(!this.getConfig().getValueOf("smtp.password")) throw new Error("Missing SMTP Password Config");