getAttachmentsForUpload

Transforms a list of AttachmentMetaData into a list of Attachments. This is required because we need to prepare the files for upload.

Return

List of Attachments that we will upload.

Parameters

attachments

The list of attachment meta data that we transform.