Skip to content

Commit

Permalink
Merge pull request #345 from topcoder-platform/feat/fetch-active-revi…
Browse files Browse the repository at this point in the history
…ew-types-only

feat: fetch active review types only
  • Loading branch information
luizrrodrigues authored Aug 16, 2022
2 parents 1113bd0 + bffe6eb commit 180a4b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- attach_workspace:
at: .
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: npm publish
- run: npm publish --tag test-release
# dont change anything
workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .",
"test": "npm run lint && npm run jest"
},
"version": "1.2.8",
"version": "1000.29.8",
"dependencies": {
"auth0-js": "^6.8.4",
"config": "^3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/services/lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class LookupService {
*/
async getReviewTypes() {
if (typeof this.private.tokenV3 !== 'undefined') {
const res = await this.private.apiV5.get('/reviewTypes');
const res = await this.private.apiV5.get('/reviewTypes?isActive=true&perPage=100');
const jsonResult = await res.json();
return jsonResult;
}
Expand Down

0 comments on commit 180a4b5

Please sign in to comment.