Skip to main content

ensure_can_attach

Function ensure_can_attach 

Source
pub async fn ensure_can_attach(
    pool: &PgPool,
    actor: &Actor,
    revision_id: Uuid,
) -> AppResult<Revision>
Expand description

Fails early (before receiving an upload) if files cannot be attached.