Skip to content

Commit 8fdb5e2

Browse files
Merge pull request topcoder-platform#294 from topcoder-platform/fix-challenges-listing
Smoke Testing 2021/01/26 - Fix challenges listing
2 parents 929c95b + 28f06e3 commit 8fdb5e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- attach_workspace:
2929
at: .
3030
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
31-
- run: npm publish
31+
- run: npm publish --tag test-release
3232
# dont change anything
3333
workflows:
3434
version: 2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .",
3232
"test": "npm run lint && npm run jest"
3333
},
34-
"version": "1.1.5",
34+
"version": "1000.26.5",
3535
"dependencies": {
3636
"auth0-js": "^6.8.4",
3737
"config": "^3.2.0",

src/services/challenges.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function normalizeChallenge(challenge, username) {
9595
submissionEndTimestamp = submissionEndTimestamp.scheduledEndDate;
9696
}
9797
const placementPrizes = _.find(challenge.prizeSets, { type: 'placement' });
98-
const { prizes } = placementPrizes || [];
98+
const prizes = _.get(placementPrizes, 'prizes', []);
9999
_.defaults(challenge, {
100100
communities: new Set([COMPETITION_TRACKS[challenge.track]]),
101101
groups,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy