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

Commit c00770d

Browse files
author
ykohata
committed
Merge branch 'thabo-I-132651-500-error-on-challenges-rss' into technology-2014-10-09
2 parents 207d374 + 132faf8 commit c00770d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

actions/challenges.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,7 @@ var submitForDevelopChallenge = function (api, connection, dbConnectionMap, next
19031903
//Note 2 - this will also cover the case of private challenges
19041904
//User will have role Submitter only if the user belongs to group of private challenge and is registered.
19051905
if (!rows[0].is_user_submitter_for_challenge) {
1906-
cb(new ForbiddenError('You cannot submit for this challenge as you are not a Submitter.'));
1906+
cb(new ForbiddenError('You cannot submit for this challenge as you are not a submitter.'));
19071907
return;
19081908
}
19091909

initializers/helper.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,12 @@ helper.MAX_INT = 2147483647;
200200
*/
201201
helper.PASSWORD_HASH_KEY = process.env.PASSWORD_HASH_KEY || 'default';
202202

203+
/**
204+
* The path that store all query files.
205+
* @since 1.38
206+
*/
207+
helper.QUERY_PATH = './queries/';
208+
203209
/**
204210
* The name in api response to database name map.
205211
*/

0 commit comments

Comments
 (0)