mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
fix to optional required param
This commit is contained in:
@@ -54,7 +54,6 @@ const mailer = {};
|
||||
mailer.enabled = Boolean(
|
||||
SMTP_HOST &&
|
||||
SMTP_USERNAME &&
|
||||
SMTP_PORT &&
|
||||
SMTP_PASSWORD &&
|
||||
SMTP_FROM_ADDRESS
|
||||
) || process.env.NODE_ENV === 'test';
|
||||
|
||||
Reference in New Issue
Block a user