Skip to content

Commit

Permalink
docs: fixing invalid gql document how to use
Browse files Browse the repository at this point in the history
  • Loading branch information
prakasa1904 committed Sep 11, 2024
1 parent 58170cc commit aff4dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func main() {

gqlCall := gql.NewRequest(useQuery)

err = gqlHttpClient.Run(context.Background(), gqlCall, hello)
err = gqlHttpClient.Run(context.Background(), gqlCall, &hello)
if err != nil {
log.Panicln(err)
}
Expand Down

0 comments on commit aff4dff

Please sign in to comment.