From 032ab60ecefae88217c499eb306b5c5bf9efa0a0 Mon Sep 17 00:00:00 2001 From: Daniel Upton Date: Thu, 21 Nov 2024 11:27:49 +0000 Subject: [PATCH] Fix bug where `action.execute` webhook data wasn't being populated --- webhook.go | 1 + 1 file changed, 1 insertion(+) diff --git a/webhook.go b/webhook.go index c4a2305..5e5a25e 100644 --- a/webhook.go +++ b/webhook.go @@ -205,6 +205,7 @@ func (c *Client) ParseWebhook(req *http.Request) (*Webhook, error) { if err := json.Unmarshal(payload.Data, &act); err != nil { return nil, err } + payload.Webhook.Data = &act default: return nil, fmt.Errorf("unknown webhook event type received: %q", payload.Type) }