Skip to content

Commit 4e5b629

Browse files
authored
Merge pull request #6866 from topcoder-platform/M2MHotfix
M2 m hotfix
2 parents 488401a + ee84cdb commit 4e5b629

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/shared/reducers/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { getCommunityId } from 'server/services/communities';
2020
import { redux, config, isomorphy } from 'topcoder-react-utils';
2121
import { reducer as toastrReducer } from 'react-redux-toastr';
2222
import { reducerFactory } from 'topcoder-react-lib';
23-
import { getAuthTokens, getM2mToken } from 'utils/tc';
23+
import { getAuthTokens } from 'utils/tc';
2424

2525
import contentful from './contentful';
2626
import topcoderHeader from './topcoder_header';
@@ -154,10 +154,10 @@ export function factory(req) {
154154
const user = _.get(res, 'auth.user');
155155
if (user && isomorphy.isServerSide()) {
156156
res.auth.userIdHash = generateUserIdHash(user);
157-
getM2mToken()
158-
.then(((token) => {
159-
res.auth.m2mToken = token;
160-
}));
157+
// getM2mToken()
158+
// .then(((token) => {
159+
// res.auth.m2mToken = token;
160+
// }));
161161
}
162162

163163
if (req) {

0 commit comments

Comments
 (0)