Skip to content

Commit

Permalink
Fix bug where action.execute webhook data wasn't being populated
Browse files Browse the repository at this point in the history
  • Loading branch information
boxofrad committed Nov 21, 2024
1 parent ee9b638 commit 032ab60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 032ab60

Please sign in to comment.