ng-miam 6.2.1 → 6.2.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.
- package/bundles/ng-miam.umd.js +2 -2
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +1 -1
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_services/campaigns.service.js +2 -2
- package/esm2015/lib/_services/interceptor.service.js +2 -2
- package/fesm2015/ng-miam.js +2 -2
- package/fesm2015/ng-miam.js.map +1 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -6510,7 +6510,7 @@
|
|
|
6510
6510
|
// Only send params if they are passed
|
|
6511
6511
|
var body = Object.assign(Object.assign({}, allocatedBudget !== null ? { 'allocated_budget_share': allocatedBudget } : {}), { 'campaign_status_id': CampaignStatus.PENDING_ID });
|
|
6512
6512
|
var url = MIAM_API_HOST$4 + ("campaigns/" + campaign.id + "/suppliers/" + supplier.id);
|
|
6513
|
-
return this.http.post(url, body);
|
|
6513
|
+
return this.http.post(url, body, { headers: { 'content-type': 'application/vnd.api+json' } });
|
|
6514
6514
|
};
|
|
6515
6515
|
CampaignsService.prototype.updateCampaignSupplier = function (campaign, supplier, allocatedBudget, message, statusId) {
|
|
6516
6516
|
// Only send params if they are passed
|
|
@@ -23750,7 +23750,7 @@
|
|
|
23750
23750
|
request = request.clone({
|
|
23751
23751
|
setHeaders: {
|
|
23752
23752
|
'miam-origin': context.origin,
|
|
23753
|
-
'miam-front-version': '6.2.
|
|
23753
|
+
'miam-front-version': '6.2.2',
|
|
23754
23754
|
'miam-front-type': 'web',
|
|
23755
23755
|
'miam-api-version': '4.7.0'
|
|
23756
23756
|
}
|