pub async fn add_attachment(
pool: &PgPool,
vault: &Vault,
actor: &Actor,
id: Uuid,
filename: &str,
bytes: &[u8],
) -> AppResult<RequestAttachment>Expand description
Attaches an image or PDF to an open request. Everybody who may comment may attach.