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

Commit 329d561

Browse files
authored
fix is_studio check
1 parent 4b9258b commit 329d561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/challengeRegistration.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ exports.registerChallenge = {
897897
cb();
898898
return;
899899
}
900-
var isStudio = result[0].isStudio !== 0;
900+
var isStudio = result[0].is_studio !== 0;
901901
api.challengeHelper.checkUserChallengeEligibility(connection, challengeId, function (err) {
902902
cb(err, isStudio);
903903
});

0 commit comments

Comments
 (0)