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

Commit 3b9047f

Browse files
committed
Merge branch 'develop'
2 parents f98ab99 + fe645a2 commit 3b9047f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929

3030
// Topcoder APIs
3131
V5_CHALLENGE_API_URL: process.env.V5_CHALLENGE_API_URL || 'http://localhost:4000/v5/challenges',
32-
V5_CHALLENGE_TYPE_API_URL: process.env.V5_CHALLENGE_TYPE_API_URL || 'http://localhost:4000/v5/challengeTypes',
32+
V5_CHALLENGE_TYPE_API_URL: process.env.V5_CHALLENGE_TYPE_API_URL || 'http://localhost:4000/v5/challenge-types',
3333
V4_CHALLENGE_API_URL: process.env.V4_CHALLENGE_API_URL || 'http://localhost:4000/v4/challenges',
3434
V4_TECHNOLOGIES_API_URL: process.env.V4_TECHNOLOGIES_API_URL || 'http://localhost:4000/v4/technologies',
3535
V4_PLATFORMS_API_URL: process.env.V4_PLATFORMS_API_URL || 'http://localhost:4000/v4/platforms'

test/mock/mock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const response = require('./response')
1010

1111
const mockApi = http.createServer((req, res) => {
1212
logger.debug(`${req.method} ${req.url}`)
13-
if (req.method === 'GET' && req.url.match(/^\/v5\/challengeTypes\/.+$/)) {
13+
if (req.method === 'GET' && req.url.match(/^\/v5\/challenge-types\/.+$/)) {
1414
const list = req.url.split('/')
1515
const typeId = list[3]
1616
if (typeId === '1f4ef3a8-ed35-40d1-b8a6-7371a700d098') {

0 commit comments

Comments
 (0)