iptdevs-design-system 3.2.83 → 3.2.84
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/media-service/media.service.mjs +3 -2
- package/fesm2015/iptdevs-design-system.mjs +2 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +2 -1
- 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
|
}
|