pub fn update_webhook( db: &Database, id: i64, name: &str, url: &str, secret: Option<&str>, events: &str, active: bool, ) -> Result<()>
Update an existing webhook.