Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 5579db2

Browse files
authored
Merge pull request #21 from afrisalyp/issue-206
Change topcoder-api-challenge to v4 version.
2 parents 5869d6c + 5e52611 commit 5579db2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
},
2525
"homepage": "https://gitlab.com/luettich/processor#README",
2626
"dependencies": {
27+
"@topcoder-platform/topcoder-api-challenges-v4-wrapper": "^1.0.5",
28+
"@topcoder-platform/topcoder-api-challenges-v4-wrapper-dev": "^1.0.5",
2729
"axios": "^0.19.0",
2830
"circular-json": "^0.5.7",
2931
"config": "^1.30.0",
@@ -41,9 +43,7 @@
4143
"node-gitlab-api": "^2.2.8",
4244
"nodemailer": "^4.6.7",
4345
"tc-core-library-js": "appirio-tech/tc-core-library-js.git#v2.6.3",
44-
"topcoder-api-challenges": "^1.0.6",
4546
"topcoder-api-projects": "^1.0.1",
46-
"topcoder-dev-api-challenges": "^1.0.6",
4747
"topcoder-dev-api-projects": "^1.0.1",
4848
"topcoder-healthcheck-dropin": "^1.0.3",
4949
"util": "^0.11.0",

utils/topcoder-api-helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ const m2mAuth = require('tc-core-library-js').auth.m2m;
2323
const m2m = m2mAuth(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME', 'AUTH0_PROXY_SERVER_URL']));
2424

2525
let topcoderApiProjects = require('topcoder-api-projects');
26-
let topcoderApiChallenges = require('topcoder-api-challenges');
26+
let topcoderApiChallenges = require('@topcoder-platform/topcoder-api-challenges-v4-wrapper');
2727

2828
const topcoderDevApiProjects = require('topcoder-dev-api-projects');
29-
const topcoderDevApiChallenges = require('topcoder-dev-api-challenges');
29+
const topcoderDevApiChallenges = require('@topcoder-platform/topcoder-api-challenges-v4-wrapper-dev');
3030

3131
const logger = require('./logger');
3232
const loggerFile = require('./logger-file');

0 commit comments

Comments
 (0)