We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d26cc6 commit f23cc56Copy full SHA for f23cc56
utils/topcoder-api-helper.js
@@ -38,13 +38,14 @@ let cachedAccessToken;
38
39
// Init the API instances
40
const projectsClient = topcoderApiProjects.ApiClient.instance;
41
-
42
let challengesClient = topcoderApiChallenges.ApiClient.instance;
43
-challengesClient.timeout=240000;
+challengesClient.timeout=480000;
44
45
const bearer = projectsClient.authentications.bearer;
46
bearer.apiKeyPrefix = 'Bearer';
47
challengesClient.authentications.bearer = bearer;
+challengesClient.basePath = = 'http://api.topcoder.com/v4'.replace(/\/+$/, '');
48
+
49
const projectsApiInstance = new topcoderApiProjects.DefaultApi();
50
const challengesApiInstance = new topcoderApiChallenges.DefaultApi();
51
0 commit comments