Skip to content

Commit 180a4b5

Browse files
Merge pull request #345 from topcoder-platform/feat/fetch-active-review-types-only
feat: fetch active review types only
2 parents 1113bd0 + bffe6eb commit 180a4b5

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

src/services/lookup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class LookupService {
113113
*/
114114
async getReviewTypes() {
115115
if (typeof this.private.tokenV3 !== 'undefined') {
116-
const res = await this.private.apiV5.get('/reviewTypes');
116+
const res = await this.private.apiV5.get('/reviewTypes?isActive=true&perPage=100');
117117
const jsonResult = await res.json();
118118
return jsonResult;
119119
}

0 commit comments

Comments
 (0)