Skip to main content

add_attachment

Function add_attachment 

Source
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.