Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2f5866e

Browse files
committedJul 23, 2022
feat: fetch active review types only
* fetch first 100 reviews to resolve not fetching all * review types
1 parent 26f4d4c commit 2f5866e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎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)
Please sign in to comment.