pub async fn update_certification_enabled(
conn: &mut PgConnection,
id: Uuid,
enabled: bool,
author_user_id: Uuid,
) -> ModelResult<()>Expand description
Turns certificate generation on or off and records the result in the module’s history.