Skip to content

Commit

Permalink
chore(install): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Apr 17, 2019
1 parent 81638dc commit dccb695
Showing 1 changed file with 32 additions and 29 deletions.
61 changes: 32 additions & 29 deletions src/controllers/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,35 +173,38 @@ installController.install = function (req, res) {
},
function (next) {
if (!eEnabled) return next()
async.parallel([
function (done) {
SettingsSchema.create(
{
name: 'es:enable',
value: true
},
done
)
},
function (done) {
SettingsSchema.create(
{
name: 'es:host',
value: eHost
},
done
)
},
function (done) {
SettingsSchema.create(
{
name: 'es:port',
value: ePort
},
done
)
}
])
async.parallel(
[
function (done) {
SettingsSchema.create(
{
name: 'es:enable',
value: true
},
done
)
},
function (done) {
SettingsSchema.create(
{
name: 'es:host',
value: eHost
},
done
)
},
function (done) {
SettingsSchema.create(
{
name: 'es:port',
value: ePort
},
done
)
}
],
next
)
},
function (next) {
var Counter = new Counters({
Expand Down

0 comments on commit dccb695

Please sign in to comment.