mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
change newsletter log to info on process boot
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user