vcomply-workflow-engine 2.6.93 → 2.6.94
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/bundles/vcomply-workflow-engine.umd.js +2 -2
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/workflow-services/add-risk.service.js +3 -3
- package/fesm2015/vcomply-workflow-engine.js +2 -2
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +1 -1
|
@@ -1729,7 +1729,7 @@
|
|
|
1729
1729
|
AddRiskService.prototype.addRisk = function (payload) {
|
|
1730
1730
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
1731
1731
|
return this.http
|
|
1732
|
-
.post(this.env.
|
|
1732
|
+
.post(this.env.risk + 'risk/CreateRisk', payload, { headers: headers })
|
|
1733
1733
|
.pipe(operators.retry(2));
|
|
1734
1734
|
};
|
|
1735
1735
|
AddRiskService.prototype.addBulkRisk = function (payload) {
|
|
@@ -1745,7 +1745,7 @@
|
|
|
1745
1745
|
AddRiskService.prototype.updateRisk = function (riskId, payload) {
|
|
1746
1746
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
1747
1747
|
return this.http
|
|
1748
|
-
.post(this.env.
|
|
1748
|
+
.post(this.env.risk + 'risk/CreateRisk&RiskId=' + riskId, payload, { headers: headers })
|
|
1749
1749
|
.pipe(operators.retry(2));
|
|
1750
1750
|
};
|
|
1751
1751
|
return AddRiskService;
|