mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
change newsletter log to info on process boot
This commit is contained in:
parent
c68366155e
commit
df161d3ece
1 changed files with 2 additions and 1 deletions
|
@ -5,10 +5,11 @@ crypto = require('crypto')
|
|||
Mailchimp = require('mailchimp-api-v3')
|
||||
|
||||
if !Settings.mailchimp?.api_key?
|
||||
logger.warn "No newsletter provider configured so not chaning email on user"
|
||||
logger.info "Using newsletter provider: none"
|
||||
mailchimp =
|
||||
request: (opts, cb)-> cb()
|
||||
else
|
||||
logger.info "Using newsletter provider: mailchimp"
|
||||
mailchimp = new Mailchimp(Settings.mailchimp?.api_key)
|
||||
|
||||
module.exports =
|
||||
|
|
Loading…
Reference in a new issue