@stackfactor/client-api 1.1.105 → 1.1.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/constants.js CHANGED
@@ -98,7 +98,6 @@ const PERMISSIONS = {
98
98
  MANAGE_USERS: "5dd612e40f0bc559c41a2b29",
99
99
  PROMOTE_CONTENT: "5fac2126427ce31f8a92c0cb",
100
100
  TALENT_TRANSFORMATION_CHAMPION: "5fac210f7e6539d37a897c95",
101
- TALENT_TRANSFORMATION_CHAMPION_ADMIN: "5fac2112b7e49e10c779b4a6",
102
101
  };
103
102
 
104
103
  const PERMISSION_DESCRIPTIONS = {
@@ -55,10 +55,10 @@ const getTalentTransformationSummary = (authToken) => {
55
55
  * @param {String} authToken
56
56
  * @returns {Promise<Object>} The talent transformation summary
57
57
  */
58
- const getTalentTransformationSummaryForTeam = (authToken) => {
58
+ const getTalentTransformationSummaryForTeam = (teamId, authToken) => {
59
59
  return new Promise(function (resolve, reject) {
60
60
  const request = client.get(
61
- `api/v1/talenttransformation/summaryforteam`,
61
+ `api/v1/talenttransformation/summaryforteam/${teamId}`,
62
62
  authToken
63
63
  ? {
64
64
  headers: { authorization: authToken },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.105",
3
+ "version": "1.1.107",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {