don't log events from health check user

This commit is contained in:
Henry Oswald 2016-11-15 13:41:15 +00:00
parent b9001f19e6
commit a822cc0c92

View file

@ -16,6 +16,8 @@ module.exports =
recordEvent: (user_id, event, segmentation = {}, callback = (error) ->) -> recordEvent: (user_id, event, segmentation = {}, callback = (error) ->) ->
if user_id == settings.smokeTest?.userId
return callback()
opts = opts =
body: body:
event:event event:event