aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/connections/gen_timeline.go
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/connections/gen_timeline.go')
-rw-r--r--graphql/connections/gen_timeline.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphql/connections/gen_timeline.go b/graphql/connections/gen_timeline.go
index 1a4b2fe5..ad3fbf5b 100644
--- a/graphql/connections/gen_timeline.go
+++ b/graphql/connections/gen_timeline.go
@@ -20,10 +20,10 @@ type TimelineItemConMaker func(
edges []models.TimelineItemEdge,
nodes []bug.TimelineItem,
info models.PageInfo,
- totalCount int) (models.TimelineItemConnection, error)
+ totalCount int) (*models.TimelineItemConnection, error)
// TimelineItemCon will paginate a source according to the input of a relay connection
-func TimelineItemCon(source []bug.TimelineItem, edgeMaker TimelineItemEdgeMaker, conMaker TimelineItemConMaker, input models.ConnectionInput) (models.TimelineItemConnection, error) {
+func TimelineItemCon(source []bug.TimelineItem, edgeMaker TimelineItemEdgeMaker, conMaker TimelineItemConMaker, input models.ConnectionInput) (*models.TimelineItemConnection, error) {
var nodes []bug.TimelineItem
var edges []models.TimelineItemEdge
var cursors []string