Add temporaryPresentationId parameter for upload

This commit is contained in:
Daniel Petri Rocha 2022-05-24 10:59:03 +02:00
parent 745034da12
commit 7bfc43b19d

View File

@ -60,6 +60,7 @@ async function upload(exportJob) {
formData.append('conference', exportJob.parentMeetingId);
formData.append('pod_id', config.notifier.pod_id);
formData.append('is_downloadable', config.notifier.is_downloadable);
formData.append('temporaryPresentationId', jobId);
formData.append('fileUpload', fs.createReadStream(`${exportJob.presLocation}/pdfs/${jobId}/${filename}.pdf`));
let res = await axios.post(callbackUrl, formData, { headers: formData.getHeaders() });