Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(data => augmenter.augmentCapabilities(data))
.then(successAndFreeze)) // add success field & freeze graph
return this._fetch(createUrl, { fetchOptions }).then(pipeline => capabilityAugmenter.augmentCapabilities(pipeline));
}
.then(response => capabilityAugmenter.augmentCapabilities(response))
.then(data => this._findExistingOrgFolderSuccess(data), error => this._findExistingOrgFolderFailure(error));
.then(data => augmenter.augmentCapabilities(data))
.then((json) => {
.then(orgs => capabilityAugmenter.augmentCapabilities(orgs))
.then(orgs => this._listOrganizationsSuccess(orgs), error => this._listOrganizationsFailure(error));
.then(data => capabilityAugmenter.augmentCapabilities(data))
.then(creds => this._listAllCredentialsSuccess(creds), error => this._listAllCredentialsFailure(error));
.then(data => capabilityAugmenter.augmentCapabilities(data))
.then(pipeline => this._createMbpSuccess(pipeline), error => this._createMbpFailure(error));
.then(data => capabilityAugmenter.augmentCapabilities(data))
.catch(error => {
.then(response => capabilityAugmenter.augmentCapabilities(response))
.then(pipeline => this._findBranchesSuccess(pipeline), error => this._findBranchesFailure(error));
.then(orgs => capabilityAugmenter.augmentCapabilities(orgs))
.then(orgs => this._listOrganizationsSuccess(orgs, credentialId, apiUrl, pagedOrgsStart), error => this._listOrganizationsFailure(error));