Skip to content
Merged
Show file tree
Hide file tree
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
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
},
"scripts": {
"build": "npm run clean && npm run build:dev && npm run build:prod",
"build:dev": "NODE_ENV=development ./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout",
"build:dev": "./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout",
"build:dev:watch": "npm run clean && ./node_modules/.bin/webpack --env=development --progress --profile --colors --watch --display-optimization-bailout",
"build:prod": "NODE_ENV=production ./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout",
"build:prod": "./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout",
"clean": "rimraf dist",
"jest": "jest --no-cache --maxWorkers=4 --config config/jest/default.js",
"lint": "npm run lint:js",
"lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .",
"test": "npm run lint && npm run jest"
},
"version": "0.11.0",
"version": "1000.6.3",
"dependencies": {
"auth0-js": "^6.8.4",
"config": "^3.2.0",
Expand Down
9 changes: 7 additions & 2 deletions src/actions/lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ function getSkillTagsInit() {}
*/
function getSkillTagsDone() {
const params = {
domain: 'SKILLS',
status: 'APPROVED',
filter: {
domain: 'SKILLS',
status: 'APPROVED',
},
limit: {
limit: 1000,
},
};
return getService().getTags(params);
}
Expand Down
2 changes: 1 addition & 1 deletion src/services/lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LookupService {
* @return {Promise} Resolves to the tags.
*/
async getTags(params) {
const res = await this.private.api.get(`/tags/?${qs.stringify(params)}`);
const res = await this.private.api.get(`/tags/?filter=${encodeURIComponent(qs.stringify(params.filter))}&${qs.stringify(params.limit)}`);
return getApiResponsePayload(res);
}

Expand Down