Browse Source

fix typo: s/comitempty/omitempty/

fixes #143
Will Norris 11 years ago
parent
commit
5ad9fb32b1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      github/activity_events.go

+ 2
- 2
github/activity_events.go View File

@ -84,7 +84,7 @@ type PullRequestEvent struct {
// IssueActivityEvent represents the payload delivered by Issue webhook
type IssueActivityEvent struct {
Action *string `json:"action,omitempty"`
Issue *Issue `json:"issue,comitempty"`
Issue *Issue `json:"issue,omitempty"`
Repo *Repository `json:"repository,omitempty"`
Sender *User `json:"sender,omitempty"`
}
@ -94,7 +94,7 @@ type IssueActivityEvent struct {
// This webhook also gets fired for comments on pull requests
type IssueCommentEvent struct {
Action *string `json:"action,omitempty"`
Issue *Issue `json:"issue,comitempty"`
Issue *Issue `json:"issue,omitempty"`
Comment *IssueComment `json:"comment,omitempty"`
Repo *Repository `json:"repository,omitempty"`
Sender *User `json:"sender,omitempty"`


Loading…
Cancel
Save