Skip to content

feat: fetch active review types only #345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
2 changes: 1 addition & 1 deletion src/services/lookup.js
Original file line number Diff line number Diff line change
@@ -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;
}