diff --git a/src/client/rest/mod.rs b/src/client/rest/mod.rs index fd4cc2f1e4f..aed12ef66d1 100644 --- a/src/client/rest/mod.rs +++ b/src/client/rest/mod.rs @@ -872,7 +872,7 @@ pub fn execute_webhook(webhook_id: u64, token: &str, map: Value) let body = serde_json::to_string(&map)?; let client = HyperClient::new(); let response = retry(|| client - .patch(&format!(api!("/webhooks/{}/{}"), webhook_id, token)) + .post(&format!(api!("/webhooks/{}/{}"), webhook_id, token)) .body(&body)) .map_err(Error::Hyper)?;