We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f59fce9 + 805ad75 commit f5fe37aCopy full SHA for f5fe37a
1 file changed
pkg/github/minimal_types.go
@@ -1,6 +1,7 @@
1
package github
2
3
import (
4
+ "fmt"
5
"strconv"
6
"time"
7
@@ -858,6 +859,7 @@ type MinimalReviewComment struct {
858
859
860
// MinimalReviewThread is the trimmed output type for PR review thread objects.
861
type MinimalReviewThread struct {
862
+ ID string
863
IsResolved bool `json:"is_resolved"`
864
IsOutdated bool `json:"is_outdated"`
865
IsCollapsed bool `json:"is_collapsed"`
@@ -994,6 +996,7 @@ func convertToMinimalReviewThread(thread reviewThreadNode) MinimalReviewThread {
994
996
}
995
997
998
return MinimalReviewThread{
999
+ ID: fmt.Sprintf("%v", thread.ID),
1000
IsResolved: bool(thread.IsResolved),
1001
IsOutdated: bool(thread.IsOutdated),
1002
IsCollapsed: bool(thread.IsCollapsed),
0 commit comments