I noticed this while testing a PDF upload. Setting contentType: application/pdfon the attachment item it was still being set to application/octet-stream in the POST request. This caused the LRS (Learning Locker) to save the file as a .bin rather than .pdf.
I noticed this while testing a PDF upload. Setting
contentType: application/pdf
on the attachment item it was still being set toapplication/octet-stream
in the POST request. This caused the LRS (Learning Locker) to save the file as a .bin rather than .pdf.