This repository was archived by the owner on Jan 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module.exports = {
29
29
30
30
// Topcoder APIs
31
31
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 ' ,
33
33
V4_CHALLENGE_API_URL : process . env . V4_CHALLENGE_API_URL || 'http://localhost:4000/v4/challenges' ,
34
34
V4_TECHNOLOGIES_API_URL : process . env . V4_TECHNOLOGIES_API_URL || 'http://localhost:4000/v4/technologies' ,
35
35
V4_PLATFORMS_API_URL : process . env . V4_PLATFORMS_API_URL || 'http://localhost:4000/v4/platforms'
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const response = require('./response')
10
10
11
11
const mockApi = http . createServer ( ( req , res ) => {
12
12
logger . debug ( `${ req . method } ${ req . url } ` )
13
- if ( req . method === 'GET' && req . url . match ( / ^ \/ v 5 \/ c h a l l e n g e T y p e s \/ .+ $ / ) ) {
13
+ if ( req . method === 'GET' && req . url . match ( / ^ \/ v 5 \/ c h a l l e n g e - t y p e s \/ .+ $ / ) ) {
14
14
const list = req . url . split ( '/' )
15
15
const typeId = list [ 3 ]
16
16
if ( typeId === '1f4ef3a8-ed35-40d1-b8a6-7371a700d098' ) {
You can’t perform that action at this time.
0 commit comments