File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 11package github
22
33import (
4+ "fmt"
45 "time"
56
67 "github.com/google/go-github/v82/github"
@@ -717,6 +718,7 @@ type MinimalReviewComment struct {
717718
718719// MinimalReviewThread is the trimmed output type for PR review thread objects.
719720type MinimalReviewThread struct {
721+ ID string `json:"id"`
720722 IsResolved bool `json:"is_resolved"`
721723 IsOutdated bool `json:"is_outdated"`
722724 IsCollapsed bool `json:"is_collapsed"`
@@ -853,6 +855,7 @@ func convertToMinimalReviewThread(thread reviewThreadNode) MinimalReviewThread {
853855 }
854856
855857 return MinimalReviewThread {
858+ ID : fmt .Sprintf ("%v" , thread .ID ),
856859 IsResolved : bool (thread .IsResolved ),
857860 IsOutdated : bool (thread .IsOutdated ),
858861 IsCollapsed : bool (thread .IsCollapsed ),
You can’t perform that action at this time.
0 commit comments