From 7fd71fceb323c482ad807125c80f95d2a3fa72ea Mon Sep 17 00:00:00 2001 From: Dedy Wahyudi Date: Tue, 5 Oct 2021 22:52:54 +0700 Subject: [PATCH 1/6] feat(unassigned-tasks) : initial fixes --- src/services/challenges.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/services/challenges.js b/src/services/challenges.js index 7c02078..08b7c42 100644 --- a/src/services/challenges.js +++ b/src/services/challenges.js @@ -453,12 +453,15 @@ class ChallengesService { */ async getChallengeRegistrants(challengeId) { /* If no token provided, resource will return Submitter role only */ - const roleId = this.private.tokenV3 ? await this.getRoleId('Submitter') : ''; - const params = { + const roleId = this.private.tokenV3 ? await this.getRoleId('Submitter') : null; + let params = { challengeId, - roleId, }; + if (roleId) { + params = { ...params, roleId }; + } + let registrants = await this.private.apiV5.get(`/resources?${qs.stringify(params)}`) .then(checkErrorV5).then(res => res.result); From b80d503366cbad18e89fdb843c9c4a9a218c09a2 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Wed, 6 Oct 2021 15:32:20 -0300 Subject: [PATCH 2/6] ci: added tag test-release Issue: https://github.com/topcoder-platform/community-app/issues/5712 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0e16184..e8eac28 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 From f053d01d6b3e8dc14175ca3f8b4fa01e8d7c2e48 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Wed, 6 Oct 2021 15:37:35 -0300 Subject: [PATCH 3/6] fix: for issue community-app#5712 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8e3d3a8..2b48b4f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1.2.0", + "version": "1000.28.0", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From f350b944c08b3cea9a2c76e1547454cb06684895 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Thu, 7 Oct 2021 05:20:00 -0300 Subject: [PATCH 4/6] fix: for issue community-app#5712 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2b48b4f..5026a8f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.28.0", + "version": "1000.28.1", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From 20c1650f9a5f916d4436302ea67c33224e5685ff Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Thu, 7 Oct 2021 07:43:57 -0300 Subject: [PATCH 5/6] ci: removed tag test-release --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e8eac28..0e16184 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,7 @@ jobs: - attach_workspace: at: . - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - - run: npm publish --tag test-release + - run: npm publish # dont change anything workflows: version: 2 From d5e1b2be1c39b1c71f83de2a8016c92957f8d7e7 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Thu, 7 Oct 2021 07:45:43 -0300 Subject: [PATCH 6/6] fix: for issue community-app#5712 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5026a8f..6650596 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.28.1", + "version": "1.2.1", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.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