make client an interface
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ type QueryWithStructsUserAuthMethodsAuthMethod struct {
|
||||
}
|
||||
|
||||
func QueryWithStructs(
|
||||
client *graphql.Client,
|
||||
client graphql.Client,
|
||||
) (*QueryWithStructsResponse, error) {
|
||||
var retval QueryWithStructsResponse
|
||||
err := client.MakeRequest(
|
||||
|
||||
Reference in New Issue
Block a user