Skip to content

Commit 957fab6

Browse files
committed
chore: add webhook delivery id logs
Signed-off-by: Zach Aller <[email protected]>
1 parent b0734c3 commit 957fab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/webhookreceiver/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func (wr *WebhookReceiver) extractDeliveryID(r *http.Request) string {
232232
return id
233233
}
234234
// GitLab - prefer Event UUID, fall back to Delivery
235-
if id := r.Header.Get("X-Gitlab-Event-UUID"); id != "" {
235+
if id := r.Header.Get("X-Gitlab-Event-Uuid"); id != "" {
236236
return id
237237
}
238238
if id := r.Header.Get("X-Gitlab-Delivery"); id != "" {

0 commit comments

Comments
 (0)