@@ -617,24 +617,24 @@ func (c *Client) ProjectItems(o *Owner, number int32, limit int, queryStr string
617617 case UserOwner :
618618 variables ["login" ] = githubv4 .String (o .Login )
619619 if queryStr == "" {
620- query = & userOwnerWithItemsNoQuery {} // must be a pointer to work with graphql queries
620+ query = & userOwnerWithItemsNoQuery {}
621621 } else {
622- query = & userOwnerWithItems {} // must be a pointer to work with graphql queries
622+ query = & userOwnerWithItems {}
623623 }
624624 queryName = "UserProjectWithItems"
625625 case OrgOwner :
626626 variables ["login" ] = githubv4 .String (o .Login )
627627 if queryStr == "" {
628- query = & orgOwnerWithItemsNoQuery {} // must be a pointer to work with graphql queries
628+ query = & orgOwnerWithItemsNoQuery {}
629629 } else {
630- query = & orgOwnerWithItems {} // must be a pointer to work with graphql queries
630+ query = & orgOwnerWithItems {}
631631 }
632632 queryName = "OrgProjectWithItems"
633633 case ViewerOwner :
634634 if queryStr == "" {
635- query = & viewerOwnerWithItemsNoQuery {} // must be a pointer to work with graphql queries
635+ query = & viewerOwnerWithItemsNoQuery {}
636636 } else {
637- query = & viewerOwnerWithItems {} // must be a pointer to work with graphql queries
637+ query = & viewerOwnerWithItems {}
638638 }
639639 queryName = "ViewerProjectWithItems"
640640 }
@@ -990,14 +990,14 @@ func (c *Client) ProjectFields(o *Owner, number int32, limit int) (*Project, err
990990 switch o .Type {
991991 case UserOwner :
992992 variables ["login" ] = githubv4 .String (o .Login )
993- query = & userOwnerWithFields {} // must be a pointer to work with graphql queries
993+ query = & userOwnerWithFields {}
994994 queryName = "UserProjectWithFields"
995995 case OrgOwner :
996996 variables ["login" ] = githubv4 .String (o .Login )
997- query = & orgOwnerWithFields {} // must be a pointer to work with graphql queries
997+ query = & orgOwnerWithFields {}
998998 queryName = "OrgProjectWithFields"
999999 case ViewerOwner :
1000- query = & viewerOwnerWithFields {} // must be a pointer to work with graphql queries
1000+ query = & viewerOwnerWithFields {}
10011001 queryName = "ViewerProjectWithFields"
10021002 }
10031003 err := c .doQueryWithProgressIndicator (queryName , query , variables )
0 commit comments