Skip to content

Commit 4ebf270

Browse files
authored
Merge pull request #673 from qustavo/patch-1
fix postData's operationName on http-post example
2 parents a974186 + f4d0f50 commit 4ebf270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/http-post/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
type postData struct {
1313
Query string `json:"query"`
14-
Operation string `json:"operation"`
14+
Operation string `json:"operationName"`
1515
Variables map[string]interface{} `json:"variables"`
1616
}
1717

0 commit comments

Comments
 (0)