@integraciones_doc24/sdk 1.16.18 → 1.16.19
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.
|
@@ -191,7 +191,7 @@ const getVideoVisitMethods = (makeRequest) => {
|
|
|
191
191
|
const uploadFileConsultation = validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.uploadFileConsultationParams]), zod_1.any(), async (params) => {
|
|
192
192
|
const form = new form_data_1.default();
|
|
193
193
|
form.append('vc_token', params.vcToken);
|
|
194
|
-
form.append('attached_file', fs_1.default.createReadStream(params.
|
|
194
|
+
form.append('attached_file', fs_1.default.createReadStream(params.attachedFile));
|
|
195
195
|
if (params.fileName)
|
|
196
196
|
form.append('file_name', params.fileName);
|
|
197
197
|
const response = await makeRequest('POST', '/upload-file-consultation', form);
|