Skip to content

Commit f9d6bc7

Browse files
Merge pull request #319 from topcoder-platform/feature/recommended-challenges-update
support multiple buckets from Recommender API
2 parents d5e1b2b + 6d1b7f7 commit f9d6bc7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.circleci/config.yml

+1-1
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

+1-1
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.2.1",
34+
"version": "1000.28.2",
3535
"dependencies": {
3636
"auth0-js": "^6.8.4",
3737
"config": "^3.2.0",

src/services/challenges.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ class ChallengesService {
553553
totalCount = res.headers.get('x-total') || 0;
554554
}
555555

556-
const challenges = res.result ? res.result.filter(ch => ch.jaccard_index > 0) : [];
556+
const challenges = res.result ? res.result.filter(ch => ch.bucket) : [];
557557
return {
558558
challenges,
559559
totalCount,

0 commit comments

Comments
 (0)