Skip to content

Commit 56f5036

Browse files
authored
Add created_at field to Reaction (#3501)
1 parent 0877faf commit 56f5036

4 files changed

+27
-6
lines changed

github/github-accessors.go

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-stringify_test.go

+6-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/reactions.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ type Reaction struct {
2626
// Content is the type of reaction.
2727
// Possible values are:
2828
// "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", or "eyes".
29-
Content *string `json:"content,omitempty"`
29+
Content *string `json:"content,omitempty"`
30+
CreatedAt *Timestamp `json:"created_at,omitempty"`
3031
}
3132

3233
// Reactions represents a summary of GitHub reactions.

0 commit comments

Comments
 (0)