Skip to content

Commit 9363b99

Browse files
committed
Remove unnecesary field
1 parent aaf1c93 commit 9363b99

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

modules/structs/hook.go

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -509,15 +509,14 @@ type CommitStatusPayload struct {
509509
Commit *PayloadCommit `json:"commit"`
510510
Context string `json:"context"`
511511
// swagger:strfmt date-time
512-
CreatedAt time.Time `json:"created_at"`
513-
Description string `json:"description"`
514-
ID int64 `json:"id"`
515-
// Name string `json:"name"`
516-
Repo *Repository `json:"repository"`
517-
Sender *User `json:"sender"`
518-
SHA string `json:"sha"`
519-
State string `json:"state"`
520-
TargetURL string `json:"target_url"`
512+
CreatedAt time.Time `json:"created_at"`
513+
Description string `json:"description"`
514+
ID int64 `json:"id"`
515+
Repo *Repository `json:"repository"`
516+
Sender *User `json:"sender"`
517+
SHA string `json:"sha"`
518+
State string `json:"state"`
519+
TargetURL string `json:"target_url"`
521520
// swagger:strfmt date-time
522521
UpdatedAt *time.Time `json:"updated_at"`
523522
}

0 commit comments

Comments
 (0)