pub async fn delete_attachment(
pool: &PgPool,
actor: &Actor,
attachment_id: Uuid,
) -> AppResult<RequestAttachment>Expand description
Removes an attachment (its uploader or an admin, while the request is open).
pub async fn delete_attachment(
pool: &PgPool,
actor: &Actor,
attachment_id: Uuid,
) -> AppResult<RequestAttachment>Removes an attachment (its uploader or an admin, while the request is open).