dmitri.shuralyov.com/service/change

Fetch Closer in Closed event.

Similar to https://github.com/shurcooL/issues/commit/697ee8e877735feed6151525cad859327bfe40c4.

Follows https://dmitri.shuralyov.com/state/...$commit/28bcc343414c6adcd7b6911f9d0ef1ad6fbf30ae
and https://github.com/shurcooL/events/commit/25a0212309664cda69930a58f8369f24b9029812.
dmitshur committed 6 years ago commit 5b675ebb0b2bc6dd93ba2cedf6b4c7c9e0271de1
Showing partial commit. Full Commit
Collapse all
timeline.go
@@ -68,12 +68,12 @@ type TimelineItem struct {
}

type (
	// ClosedEvent is when a change is closed.
	ClosedEvent struct {
		CommitID      string // CommitID is SHA of commit that closed the change, or empty string if there's no associated commit.
		CommitHTMLURL string // Optional.
		Closer        interface{} // Change (with State, Title), Commit (with SHA, Message, Author.AvatarURL), nil.
		CloserHTMLURL string      // If Closer is not nil.
	}

	// ReopenedEvent is when a change is reopened.
	ReopenedEvent struct{}