Commit 4027f24d by trace

[fix] outsideNotifier 放在第一级

parent 58fb01b0
...@@ -336,6 +336,7 @@ async function getConfig() { ...@@ -336,6 +336,7 @@ async function getConfig() {
} }
let config = dataes.config let config = dataes.config
let subscriber = dataes.subscriber let subscriber = dataes.subscriber
outsideNotifier = dataes.outsideNotifier || outsideNotifier
daichaoNotifyEmail = dataes.daichaoNotifyEmail || daichaoNotifyEmail daichaoNotifyEmail = dataes.daichaoNotifyEmail || daichaoNotifyEmail
ourApps = dataes.ourApps || {} ourApps = dataes.ourApps || {}
ourAppIds = Object.keys(ourApps) ourAppIds = Object.keys(ourApps)
...@@ -373,7 +374,6 @@ async function getConfig() { ...@@ -373,7 +374,6 @@ async function getConfig() {
start = config.start || start start = config.start || start
dailyOnlineStartHours = config.dailyOnlineStartHours || dailyOnlineStartHours dailyOnlineStartHours = config.dailyOnlineStartHours || dailyOnlineStartHours
dailyOnlineEndHours = config.dailyOnlineEndHours || dailyOnlineEndHours dailyOnlineEndHours = config.dailyOnlineEndHours || dailyOnlineEndHours
outsideNotifier = config.outsideNotifier || outsideNotifier
log(JSON.stringify(config)) log(JSON.stringify(config))
log(JSON.stringify(notifyEmail)) log(JSON.stringify(notifyEmail))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment