From aacdb1e96bd58ba2c1ffcec4edf6ccab87c367f8 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 28 Nov 2016 19:19:00 +0000 Subject: [PATCH] to string record event check --- .../web/app/coffee/Features/Analytics/AnalyticsManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Analytics/AnalyticsManager.coffee b/services/web/app/coffee/Features/Analytics/AnalyticsManager.coffee index 6840f8fa88..9f34d6d9d1 100644 --- a/services/web/app/coffee/Features/Analytics/AnalyticsManager.coffee +++ b/services/web/app/coffee/Features/Analytics/AnalyticsManager.coffee @@ -18,7 +18,7 @@ module.exports = recordEvent: (user_id, event, segmentation = {}, callback = (error) ->) -> - if user_id == settings.smokeTest?.userId + if user_id+"" == settings.smokeTest?.userId+"" return callback() opts = body: