You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/09/15 11:16:06 UTC
[incubator-eventmesh] branch master updated: [ISSUE #1276] update github protocol under the webhook module
This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 7edc74f7 [ISSUE #1276] update github protocol under the webhook module
new c23efeca Merge pull request #1278 from githublaohu/webhook-repair5
7edc74f7 is described below
commit 7edc74f71ab5b68a5cbf1315a3b3660353ad74c8
Author: githublaohu <Ni...@989898>
AuthorDate: Thu Sep 15 16:23:01 2022 +0800
[ISSUE #1276] update github protocol under the webhook module
---
.../org/apache/eventmesh/webhook/receive/protocol/GithubProtocol.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/protocol/GithubProtocol.java b/eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/protocol/GithubProtocol.java
index 67804ca2..c6d1e9d1 100644
--- a/eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/protocol/GithubProtocol.java
+++ b/eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/protocol/GithubProtocol.java
@@ -49,7 +49,7 @@ public class GithubProtocol implements ManufacturerProtocol {
}
try {
- webHookRequest.setManufacturerEventId(header.get("X-GitHub-Delivery"));
+ webHookRequest.setManufacturerEventId(header.get("x-github-delivery"));
webHookRequest.setManufacturerEventName(webHookConfig.getManufacturerEventName());
webHookRequest.setManufacturerSource(getManufacturerName());
} catch (Exception e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org