2
0
Pārlūkot izejas kodu

ProductConnection

- fix: NewProductConnection
Alexey Kim 2 gadi atpakaļ
vecāks
revīzija
cf7aec9f16
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      graphql/helper/product.go

+ 1 - 1
graphql/helper/product.go

@@ -44,7 +44,7 @@ func NewProductConnection(src []*generated.Product,
 			Node: connection.Nodes[i],
 		}
 
-		if c, err := model.NewSimpleCursor(e.Node.ID, model.GidCollection); err == nil {
+		if c, err := model.NewSimpleCursor(e.Node.ID, model.GidProduct); err == nil {
 			e.Cursor = *c.String()
 		}