iptdevs-design-system 3.2.83 → 3.2.85
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/esm2020/lib/core/models/media/media.interfaces.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +2 -2
- package/esm2020/lib/core/services/media-service/media.service.mjs +3 -2
- package/fesm2015/iptdevs-design-system.mjs +3 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +3 -2
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/media/media.interfaces.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3676,7 +3676,8 @@ class MediaService extends IPTGeneralService {
|
|
|
3676
3676
|
const serviceUrl = this.SERVICE_URL + 'document/upload';
|
|
3677
3677
|
const formData = new FormData();
|
|
3678
3678
|
formData.append('params[token]', params.token);
|
|
3679
|
-
formData.append('params[
|
|
3679
|
+
formData.append('params[code_student]', params.code_student.toString());
|
|
3680
|
+
formData.append('params[type_document]', params.type_document.toString());
|
|
3680
3681
|
if (params.file) {
|
|
3681
3682
|
formData.append('file', params.file, params.file.name);
|
|
3682
3683
|
}
|
|
@@ -4285,7 +4286,7 @@ class CommercialService extends IPTGeneralService {
|
|
|
4285
4286
|
payCommissions(params) {
|
|
4286
4287
|
const serviceUrl = this.SERVICE_URL + 'commissions/pay/cods';
|
|
4287
4288
|
this.generateRequestParams(params);
|
|
4288
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
4289
|
+
return this.http.post(serviceUrl, params, this.httpOptions);
|
|
4289
4290
|
}
|
|
4290
4291
|
payAdvisorBonuses(params) {
|
|
4291
4292
|
const serviceUrl = this.SERVICE_URL + 'commissions/pay/bonuses';
|