make client an interface

This commit is contained in:
Ben Kraft
2021-03-25 14:08:12 -07:00
parent a9054e484f
commit 937540d244
17 changed files with 61 additions and 21 deletions
+1 -1
View File
@@ -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(