Skip to content

Commit

Permalink
Revert setting of variable as done before.
Browse files Browse the repository at this point in the history
  • Loading branch information
tosih committed Aug 25, 2016
1 parent 021579b commit dcd669d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/services/serviceEventTracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ require('app')
var User = require('@runnable/api-client/lib/models/user');
var _keypather;
var _$location;
var INTERCOM_APP_ID;

/**
* EventTracking
Expand All @@ -27,6 +28,7 @@ function EventTracking(
keypather,
intercomAppId
) {
INTERCOM_APP_ID = intercomAppId;
_keypather = keypather;
_$location = $location;

Expand Down Expand Up @@ -121,7 +123,7 @@ EventTracking.prototype.boot = function (user, opts) {
name: user.oauthName(),
email: user.attrs.email,
created_at: new Date(user.attrs.created) / 1000 || 0,
app_id: intercomAppId
app_id: INTERCOM_APP_ID
};
if (opts.orgName) {
data.company = {
Expand Down

0 comments on commit dcd669d

Please sign in to comment.