Skip to content

Commit 7274fd7

Browse files
Merge pull request #6794 from topcoder-platform/develop
Release v1.20.4
2 parents f658311 + 3dfc66a commit 7274fd7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ workflows:
349349
filters:
350350
branches:
351351
only:
352-
- free
352+
- sprig-lib
353353
# This is alternate dev env for parallel testing
354354
- "build-test":
355355
context : org-global

src/client/index.jsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ import {
1313
getFreshToken,
1414
} from '@topcoder-platform/tc-auth-lib';
1515
import { actions, logger, errors } from 'topcoder-react-lib';
16-
import { client, redux } from 'topcoder-react-utils';
16+
import { client, redux, config } from 'topcoder-react-utils';
17+
import { sprig } from '@sprig-technologies/sprig-browser';
1718

1819
import './styles.scss';
1920

21+
const Sprig = sprig.configure({
22+
environmentId: config.SPRIG_ENVIRONMENT_ID,
23+
});
24+
2025
const { setErrorsStore } = errors;
2126

2227
/**
@@ -55,6 +60,7 @@ function identify(profile, roles, userIdHash) {
5560
integrations: { All: false, Chameleon: true },
5661
},
5762
);
63+
Sprig('setUserId', profile.handle);
5864
}
5965

6066
/**

0 commit comments

Comments
 (0)