File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 22
22
},
23
23
"scripts" : {
24
24
"build" : " npm run clean && npm run build:dev && npm run build:prod" ,
25
- "build:dev" : " NODE_ENV=development ./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout" ,
25
+ "build:dev" : " ./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout" ,
26
26
"build:dev:watch" : " npm run clean && ./node_modules/.bin/webpack --env=development --progress --profile --colors --watch --display-optimization-bailout" ,
27
- "build:prod" : " NODE_ENV=production ./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout" ,
27
+ "build:prod" : " ./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout" ,
28
28
"clean" : " rimraf dist" ,
29
29
"jest" : " jest --no-cache --maxWorkers=4 --config config/jest/default.js" ,
30
30
"lint" : " npm run lint:js" ,
Original file line number Diff line number Diff line change @@ -20,8 +20,13 @@ function getSkillTagsInit() {}
20
20
*/
21
21
function getSkillTagsDone ( ) {
22
22
const params = {
23
- domain : 'SKILLS' ,
24
- status : 'APPROVED' ,
23
+ filter : {
24
+ domain : 'SKILLS' ,
25
+ status : 'APPROVED' ,
26
+ } ,
27
+ limit : {
28
+ limit : 1000 ,
29
+ } ,
25
30
} ;
26
31
return getService ( ) . getTags ( params ) ;
27
32
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class LookupService {
25
25
* @return {Promise } Resolves to the tags.
26
26
*/
27
27
async getTags ( params ) {
28
- const res = await this . private . api . get ( `/tags/?${ qs . stringify ( params ) } ` ) ;
28
+ const res = await this . private . api . get ( `/tags/?filter= ${ encodeURIComponent ( qs . stringify ( params . filter ) ) } & ${ qs . stringify ( params . limit ) } ` ) ;
29
29
return getApiResponsePayload ( res ) ;
30
30
}
31
31
You can’t perform that action at this time.
0 commit comments