Fix log call signature

This commit is contained in:
Alasdair Smith 2017-10-19 16:02:40 +01:00
parent 6fd1d493e3
commit ebaa640c51

View file

@ -229,7 +229,7 @@ module.exports = ProjectController =
else if event? else if event?
return cb(null, false) return cb(null, false)
else else
logger.log user_id, event, "track changes onboarding not shown yet to this user" logger.log { user_id, event }, "track changes onboarding not shown yet to this user"
return cb(null, true) return cb(null, true)
showPerUserTCNotice: (cb) -> showPerUserTCNotice: (cb) ->
cb = underscore.once(cb) cb = underscore.once(cb)
@ -248,7 +248,7 @@ module.exports = ProjectController =
else if event? else if event?
return cb(null, false) return cb(null, false)
else else
logger.log user_id, event, "per user track changes notice not shown yet to this user" logger.log { user_id, event }, "per user track changes notice not shown yet to this user"
return cb(null, true) return cb(null, true)
showAutoCompileOnboarding: (cb) -> showAutoCompileOnboarding: (cb) ->
cb = underscore.once(cb) cb = underscore.once(cb)
@ -275,7 +275,7 @@ module.exports = ProjectController =
else if event? else if event?
return cb(null, false) return cb(null, false)
else else
logger.log user_id, event, "autocompile onboarding not shown yet to this user" logger.log { user_id, event }, "autocompile onboarding not shown yet to this user"
return cb(null, true) return cb(null, true)
}, (err, results)-> }, (err, results)->
if err? if err?