filterAttachments

Filters out attachments that can be uploaded to the backend according to files and images upload configurations.

Return

A list of attachments allowed by the server.

Parameters

attachments

A list of attachments.