@adlfe/campaign-management-library 2.10.6 → 2.11.1

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.
@@ -2871,10 +2871,15 @@
2871
2871
  return;
2872
2872
  }
2873
2873
  var bodyReq = new GeneralInformationWAReqModel().clone(__assign({}, this.generalInformationData));
2874
+ var payloadValue = bodyReq.convert();
2875
+ if (payloadValue.template && this.generalInformationData.template) {
2876
+ payloadValue.template.type =
2877
+ payloadValue.template.type || this.generalInformationData.template.category;
2878
+ }
2874
2879
  var parameterList = [
2875
2880
  {
2876
2881
  name: 'data',
2877
- value: bodyReq.convert(),
2882
+ value: payloadValue,
2878
2883
  in: 'body',
2879
2884
  type: 'object',
2880
2885
  withoutKeyData: true,
@@ -5503,7 +5508,6 @@
5503
5508
  this.toastr.error('Upload media failed, max size 30mb');
5504
5509
  return;
5505
5510
  }
5506
- // this.uploadMediaService(file[0]);
5507
5511
  this.getPresignedUrlService(file[0]);
5508
5512
  };
5509
5513
  NewNumberBasesComponent.prototype.getPresignedUrlService = function (file) {