make client an interface
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ func (v *UnionNoFragmentsQueryResponse) UnmarshalJSON(b []byte) error {
|
||||
}
|
||||
|
||||
func UnionNoFragmentsQuery(
|
||||
client *graphql.Client,
|
||||
client graphql.Client,
|
||||
) (*UnionNoFragmentsQueryResponse, error) {
|
||||
var retval UnionNoFragmentsQueryResponse
|
||||
err := client.MakeRequest(
|
||||
|
||||
Reference in New Issue
Block a user