We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1575ed commit f55627eCopy full SHA for f55627e
1 file changed
pkg/github/minimal_types.go
@@ -1,6 +1,7 @@
1
package github
2
3
import (
4
+ "fmt"
5
"time"
6
7
"github.com/google/go-github/v82/github"
@@ -717,6 +718,7 @@ type MinimalReviewComment struct {
717
718
719
// MinimalReviewThread is the trimmed output type for PR review thread objects.
720
type MinimalReviewThread struct {
721
+ ID string `json:"id"`
722
IsResolved bool `json:"is_resolved"`
723
IsOutdated bool `json:"is_outdated"`
724
IsCollapsed bool `json:"is_collapsed"`
@@ -853,6 +855,7 @@ func convertToMinimalReviewThread(thread reviewThreadNode) MinimalReviewThread {
853
855
}
854
856
857
return MinimalReviewThread{
858
+ ID: fmt.Sprintf("%v", thread.ID),
859
IsResolved: bool(thread.IsResolved),
860
IsOutdated: bool(thread.IsOutdated),
861
IsCollapsed: bool(thread.IsCollapsed),
0 commit comments