Skip to content

Commit e22eb6e

Browse files
merge with develop branch
2 parents 7ca7500 + 44e7dc5 commit e22eb6e

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
},
2323
"scripts": {
2424
"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",
2626
"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",
2828
"clean": "rimraf dist",
2929
"jest": "jest --no-cache --maxWorkers=4 --config config/jest/default.js",
3030
"lint": "npm run lint:js",

src/actions/lookup.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ function getSkillTagsInit() {}
2020
*/
2121
function getSkillTagsDone() {
2222
const params = {
23-
domain: 'SKILLS',
24-
status: 'APPROVED',
23+
filter: {
24+
domain: 'SKILLS',
25+
status: 'APPROVED',
26+
},
27+
limit: {
28+
limit: 1000,
29+
},
2530
};
2631
return getService().getTags(params);
2732
}

src/services/lookup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class LookupService {
2525
* @return {Promise} Resolves to the tags.
2626
*/
2727
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)}`);
2929
return getApiResponsePayload(res);
3030
}
3131

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy