Skip to content

Commit

Permalink
fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpivkin committed Aug 13, 2023
1 parent 5f7c8e1 commit 1ecdb37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions github/event_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ type ProjectColumnEvent struct {
}

// ProjectV2Event is triggered when there is activity relating to an organization-level project.
// The Webhook event name is "projects_v2"
// The Webhook event name is "projects_v2".
//
// GitHub API docs: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#projects_v2
type ProjectV2Event struct {
Expand Down Expand Up @@ -974,8 +974,8 @@ type ProjectsV2 struct {
DeletedBy *User `json:"deleted_by,omitempty"`
}

// ProjectV2ItemEvent triggered when there is activity relating to an item on an organization-level project.
// The Webhook event name is "projects_v2_item"
// ProjectV2ItemEvent is triggered when there is activity relating to an item on an organization-level project.
// The Webhook event name is "projects_v2_item".
//
// GitHub API docs: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#projects_v2_item
type ProjectV2ItemEvent struct {
Expand Down
1 change: 0 additions & 1 deletion github/event_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14300,7 +14300,6 @@ func TestProjectV2Event_Marshal(t *testing.T) {
}`

testJSONMarshal(t, u, want)

}

func TestProjectV2ItemEvent_Marshal(t *testing.T) {
Expand Down

0 comments on commit 1ecdb37

Please sign in to comment.