aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/rest/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rest/mod.rs b/src/client/rest/mod.rs
index fd4cc2f..aed12ef 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)?;