Skip to content

Commit c20a020

Browse files
add logging
1 parent 36fc2f5 commit c20a020

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/services/ChallengeService.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,10 @@ async function validateWinners (winners, challengeId) {
12771277
* @returns {Object} the challenge with given id
12781278
*/
12791279
async function getChallengeStatistics (currentUser, id) {
1280-
const challenge = await getChallenge(currentUser, id)
1280+
console.log('*****************')
1281+
console.log(currentUser)
1282+
console.log('*****************')
1283+
const challenge = await getChallenge(currentUser, id)
12811284
// for now, only Data Science challenges are supported
12821285
if (challenge.type !== 'Challenge' && challenge.track !== 'Data Science') {
12831286
throw new errors.BadRequestError(`Challenge of type ${challenge.type} and track ${challenge.track} does not support statistics`)

0 commit comments

Comments
 (0)