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

Commit db8875a

Browse files
authored
Corrected challenge name
Challenge name was having extra content added to the end
1 parent 093f916 commit db8875a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

actions/challengeRegistration.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ var sendNotificationEmail = function (api, componentInfo, userId, activeForumCat
378378
}
379379

380380
user = result[0];
381-
projectName = componentInfo.project_name + api.helper.getPhaseName(componentInfo.phase_id) + ' Contest';
381+
projectName = componentInfo.project_name;
382382
documentationDetails = '';
383383
// we need to set up a new environment variable for the web server name specifici to each environment
384384
//submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/';
@@ -401,11 +401,11 @@ var sendNotificationEmail = function (api, componentInfo, userId, activeForumCat
401401
if (challengeType === CHALLENGE_TYPE.DEVELOP) {
402402
forumURL = api.config.tcConfig.developForumsUrlPrefix + activeForumCategoryId;
403403
reviewURL = process.env.TC_SOFTWARE_SERVER_NAME + '/review/actions/ViewProjectDetails?pid=' + challengeId;
404-
submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenges/' + challengeId + '/submit/file/';
404+
submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/?type=develop';
405405
} else if (challengeType === CHALLENGE_TYPE.DESIGN) {
406406
forumURL = api.config.tcConfig.studioForumsUrlPrefix + activeForumCategoryId;
407407
//submitURL = process.env.TC_STUDIO_SERVER_NAME + '/?module=ViewContestDetails&ct=' + challengeId;
408-
submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/?type=develop';
408+
submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenges/' + challengeId + '/submit/file/';
409409
}
410410

411411
if (componentInfo.review_type && componentInfo.review_type == 'PEER')

0 commit comments

Comments
 (0)