diff --git a/backend/internal/service/github.go b/backend/internal/service/github.go index e0e2fd6..9a4e460 100644 --- a/backend/internal/service/github.go +++ b/backend/internal/service/github.go @@ -37,6 +37,7 @@ type Issue struct { // Discussion represents a GitHub discussion. type Discussion struct { ID string `json:"id"` + Url string `json:"url"` Title string `json:"title"` BodyText string `json:"-"` Labels []Label `json:"labels"` @@ -334,6 +335,7 @@ func (s *GitHubService) fetchDiscussions(ctx context.Context, afterCursor *githu for _, node := range query.Repository.Discussions.Nodes { discussion := &Discussion{ ID: node.ID, + Url: node.Url, Title: node.Title, BodyText: node.BodyText, }