@ibm-cloud/cd-tools 1.3.1 → 1.3.2

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.
@@ -262,7 +262,7 @@ export async function importTerraform(token, apiKey, region, toolchainId, toolch
262
262
 
263
263
  // clean up parameters
264
264
  const newParamsMap = {};
265
- const paramsToInclude = ['api_token', 'auth_type', 'enable_traceability', 'integration_owner', 'toolchain_issues_enabled'];
265
+ const paramsToInclude = ['api_token', 'auth_type', 'enable_traceability', 'toolchain_issues_enabled'];
266
266
  for (const param of paramsToInclude) {
267
267
  newParamsMap[param] = paramsMap[param];
268
268
  }
@@ -294,8 +294,7 @@ async function getGitOAuth(bearer, targetRegion, gitId) {
294
294
  'Authorization': `Bearer ${bearer}`,
295
295
  'Content-Type': 'application/json',
296
296
  },
297
- // TODO: replace return_uri with "official" endpoint
298
- params: { env_id: `ibm:yp:${targetRegion}`, git_id: gitId, console_url: 'https://cloud.ibm.com', return_uri: `https://cloud.ibm.com/devops/git?env_id=ibm:yp:${targetRegion}` },
297
+ params: { env_id: `ibm:yp:${targetRegion}`, git_id: gitId, console_url: 'https://cloud.ibm.com', return_uri: `https://cloud.ibm.com/devops/git/static/github_return.html` },
299
298
  validateStatus: () => true
300
299
  };
301
300
  const response = await axios(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibm-cloud/cd-tools",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Tools and utilities for the IBM Cloud Continuous Delivery service and resources",
5
5
  "repository": {
6
6
  "type": "git",